How to build Xenial Joule branch
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
The Intel-Joule project |
Fix Committed
|
Undecided
|
Unassigned |
Bug Description
Copy query from https:/
Hi,
I am Yash from Intel. I am trying to build Kernel Source from Xenial Joule branch with below mentioned steps. Build is successful and it generates deb files. I am facing dependency problem while installing the packages. Could you please let me know, are these the right steps to build Xenial Joule branch and install packages.
OS : Ubuntu 16.04
Source from : git clone -b joule https:/
Build Environment:
sudo apt-get install build-essential git
sudo apt-get install kernel-wedge
sudo apt-get install libssl-dev ncurses-dev xz-utils kernel-package
Modify the Configuration:
chmod a+x debian/rules
chmod a+x debian/scripts/*
chmod a+x debian/
fakeroot debian/rules clean
fakeroot debian/rules editconfigs
Trigger the kernel build:
Change your working directory to the root of the kernel source tree and then type the following commands:
fakeroot debian/rules clean
fakeroot debian/rules binary-headers binary-joule
Build Outputs:
cd ..
ls *.deb
Following files were generated from build
linux-headers-
linux-image-
linux-joule-
linux-tools-
Install:
sudo dpkg -i linux*.deb
Selecting previously unselected package linux-headers-
(Reading database ... 250898 files and directories currently installed.)
Preparing to unpack linux-headers-
Unpacking linux-headers-
Selecting previously unselected package linux-image-
Preparing to unpack linux-image-
Done.
Unpacking linux-image-
Selecting previously unselected package linux-joule-
Preparing to unpack linux-joule-
Unpacking linux-joule-
Selecting previously unselected package linux-tools-
Preparing to unpack linux-tools-
Unpacking linux-tools-
Setting up linux-image-
Running depmod.
update-initramfs: deferring update (hook will be called later)
Examining /etc/kernel/
run-parts: executing /etc/kernel/
run-parts: executing /etc/kernel/
update-initramfs: Generating /boot/initrd.
run-parts: executing /etc/kernel/
run-parts: executing /etc/kernel/
run-parts: executing /etc/kernel/
run-parts: executing /etc/kernel/
vboxadd.sh: Building Guest Additions kernel modules.
vboxadd.sh: failed: Look at /var/log/
run-parts: executing /etc/kernel/
Generating grub configuration file ...
Warning: Setting GRUB_TIMEOUT to a non-zero value when GRUB_HIDDEN_TIMEOUT is set is no longer supported.
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found memtest86+ image: /boot/memtest86
Found memtest86+ image: /boot/memtest86
done
Setting up linux-joule-
dpkg: dependency problems prevent configuration of linux-tools-
linux-
Package linux-joule-
dpkg: error processing package linux-tools-
dependency problems - leaving unconfigured
Setting up linux-headers-
Errors were encountered while processing:
linux-
Thanks,
Changed in intel-joule: | |
assignee: | nobody → Jesse Sung (wenchien) |
Changed in intel-joule: | |
assignee: | Jesse Sung (wenchien) → Yashaswini Hanji (yhanji) |
Changed in intel-joule: | |
assignee: | Yashaswini Hanji (yhanji) → nobody |
If you just want to install the kernel, you can safely skip the linux-tools package. In case you do need it, please also add "binary-perarch" to the command:
$ fakeroot debian/rules clean binary-headers binary-joule binary-perarch joule-tools- 4.4.0-1000' in '../linux- joule-tools- 4.4.0-1000_ 4.4.0-1000. 1_amd64. deb'.
...
dpkg-deb: building package 'linux-
This will generate the linux-joule-tools package.