How to build Xenial Joule branch
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,
Question information
- Language:
- English Edit question
- Status:
- Expired
- For:
- Ubuntu linux Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply: