How to build Xenial Joule branch

Asked by Yashaswini Hanji

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://git.launchpad.net/~ubuntu-kernel/ubuntu/+source/linux/+git/xenial

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/scripts/misc/*
    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-4.4.0-1000-joule_4.4.0-1000.1_amd64.deb
linux-image-4.4.0-1000-joule_4.4.0-1000.1_amd64.deb
linux-joule-headers-4.4.0-1000_4.4.0-1000.1_amd64.deb
linux-tools-4.4.0-1000-joule_4.4.0-1000.1_amd64.deb

Install:

sudo dpkg -i linux*.deb
Selecting previously unselected package linux-headers-4.4.0-1000-joule.
(Reading database ... 250898 files and directories currently installed.)
Preparing to unpack linux-headers-4.4.0-1000-joule_4.4.0-1000.1_amd64.deb ...
Unpacking linux-headers-4.4.0-1000-joule (4.4.0-1000.1) ...
Selecting previously unselected package linux-image-4.4.0-1000-joule.
Preparing to unpack linux-image-4.4.0-1000-joule_4.4.0-1000.1_amd64.deb ...
Done.
Unpacking linux-image-4.4.0-1000-joule (4.4.0-1000.1) ...
Selecting previously unselected package linux-joule-headers-4.4.0-1000.
Preparing to unpack linux-joule-headers-4.4.0-1000_4.4.0-1000.1_amd64.deb ...
Unpacking linux-joule-headers-4.4.0-1000 (4.4.0-1000.1) ...
Selecting previously unselected package linux-tools-4.4.0-1000-joule.
Preparing to unpack linux-tools-4.4.0-1000-joule_4.4.0-1000.1_amd64.deb ...
Unpacking linux-tools-4.4.0-1000-joule (4.4.0-1000.1) ...
Setting up linux-image-4.4.0-1000-joule (4.4.0-1000.1) ...
Running depmod.
update-initramfs: deferring update (hook will be called later)
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 4.4.0-1000-joule /boot/vmlinuz-4.4.0-1000-joule
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 4.4.0-1000-joule /boot/vmlinuz-4.4.0-1000-joule
update-initramfs: Generating /boot/initrd.img-4.4.0-1000-joule
run-parts: executing /etc/kernel/postinst.d/pm-utils 4.4.0-1000-joule /boot/vmlinuz-4.4.0-1000-joule
run-parts: executing /etc/kernel/postinst.d/unattended-upgrades 4.4.0-1000-joule /boot/vmlinuz-4.4.0-1000-joule
run-parts: executing /etc/kernel/postinst.d/update-notifier 4.4.0-1000-joule /boot/vmlinuz-4.4.0-1000-joule
run-parts: executing /etc/kernel/postinst.d/vboxadd 4.4.0-1000-joule /boot/vmlinuz-4.4.0-1000-joule
vboxadd.sh: Building Guest Additions kernel modules.
vboxadd.sh: failed: Look at /var/log/vboxadd-install.log to find out what went wrong.
run-parts: executing /etc/kernel/postinst.d/zz-update-grub 4.4.0-1000-joule /boot/vmlinuz-4.4.0-1000-joule
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-4.4.0-1000-joule
Found initrd image: /boot/initrd.img-4.4.0-1000-joule
Found linux image: /boot/vmlinuz-4.4.0-75-generic
Found initrd image: /boot/initrd.img-4.4.0-75-generic
Found linux image: /boot/vmlinuz-4.4.0-31-generic
Found initrd image: /boot/initrd.img-4.4.0-31-generic
Found memtest86+ image: /boot/memtest86+.elf
Found memtest86+ image: /boot/memtest86+.bin
done
Setting up linux-joule-headers-4.4.0-1000 (4.4.0-1000.1) ...
dpkg: dependency problems prevent configuration of linux-tools-4.4.0-1000-joule:
 linux-tools-4.4.0-1000-joule depends on linux-joule-tools-4.4.0-1000; however:
  Package linux-joule-tools-4.4.0-1000 is not installed.

dpkg: error processing package linux-tools-4.4.0-1000-joule (--install):
 dependency problems - leaving unconfigured
Setting up linux-headers-4.4.0-1000-joule (4.4.0-1000.1) ...
Errors were encountered while processing:
 linux-tools-4.4.0-1000-joule

Thanks,

Question information

Language:
English Edit question
Status:
Expired
For:
Ubuntu linux Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Emily Chien (emily.chien) said :
#1
Revision history for this message
Launchpad Janitor (janitor) said :
#2

This question was expired because it remained in the 'Open' state without activity for the last 15 days.