Linaro Ubuntu Engineering Builds

Developer rootfs pulls linux-image package

Reported by Tom Gall on 2012-06-08
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Linaro Ubuntu
High
Ricardo Salveti

Bug Description

Here's the log, trying to install an image onto SD for panda.

1) latest linaro-image-tools on 11.10
2) hwpack_linaro-lt-panda_20120608-203_armhf_supported.tar.gz
3) linaro-precise-developer-20120608-176.tar.gz

From the bottom, fails with : ValueError: Too many files matching '/tmp/tmpryeBql/binary/boot/filesystem.dir/boot/vmlinuz-*-linaro-lt-omap' found.

The following extra packages will be installed:
  python-linaro-image-tools
The following packages will be upgraded:
  linaro-image-tools python-linaro-image-tools
2 upgraded, 0 newly installed, 0 to remove and 180 not upgraded.
Need to get 127 kB of archives.
After this operation, 4,096 B of additional disk space will be used.
Do you want to continue [Y/n]? Y
Get:1 http://ppa.launchpad.net/linaro-maintainers/tools/ubuntu/ oneiric/main python-linaro-image-tools all 2012.05-0ubuntu1~linaro1 [112 kB]
Get:2 http://ppa.launchpad.net/linaro-maintainers/tools/ubuntu/ oneiric/main linaro-image-tools all 2012.05-0ubuntu1~linaro1 [15.4 kB]
Fetched 127 kB in 1s (115 kB/s)
[ERROR - 08.Jun.12 13:59:03]: Not on Blue network, aborting...
(Reading database ... 267320 files and directories currently installed.)
Preparing to replace python-linaro-image-tools 2012.04-0ubuntu1~linaro1 (using .../python-linaro-image-tools_2012.05-0ubuntu1~linaro1_all.deb) ...
Unpacking replacement python-linaro-image-tools ...
Preparing to replace linaro-image-tools 2012.04-0ubuntu1~linaro1 (using .../linaro-image-tools_2012.05-0ubuntu1~linaro1_all.deb) ...
Unpacking replacement linaro-image-tools ...
Processing triggers for python-support ...
Setting up python-linaro-image-tools (2012.05-0ubuntu1~linaro1) ...
Setting up linaro-image-tools (2012.05-0ubuntu1~linaro1) ...
Processing triggers for python-support ...
root@neptune:~# linaro-media-create --mmc /dev/sdc --rootfs ext4 --dev panda --hwpack ~tgall/Downloads/hwpack_linaro-lt-panda_20120608-203_armhf_supported.tar.gz --binary ~tgall/Downloads/linaro-precise-developer-20120608-176.tar.gz

I see...
Device Mount point Size
/dev/sda none 152627MB
/dev/sda1 / 146899MB
/dev/sda2 none 5726MB
/dev/sda5 none 5726MB
/dev/sdb none 0MB
/dev/sdc none 7659MB
/dev/sdc1 none 51MB
/dev/sdc2 none 7607MB
/dev/sdd none 0MB
/dev/sde none 0MB
/dev/sr0 none 0MB
Are you 100% sure, on selecting [/dev/sdc] (y/n)? y
------------------------------------------------------------
Installing (linaro-hwpack-install) hwpack_linaro-lt-panda_20120608-203_armhf_supported.tar.gz in target rootfs.
Unpacking hardware pack ...Done
Updating apt package lists ...
Ign file: ./ InRelease
Ign file: ./ Release.gpg
Ign file: ./ Release
Ign file: ./ Translation-en
Ign http://ppa.launchpad.net precise InRelease
Ign http://ports.ubuntu.com precise InRelease
Ign http://ports.ubuntu.com precise-security InRelease
Ign http://ports.ubuntu.com precise-updates InRelease
Hit http://ppa.launchpad.net precise Release.gpg
Hit http://ports.ubuntu.com precise Release.gpg
Hit http://ports.ubuntu.com precise-security Release.gpg
Hit http://ppa.launchpad.net precise Release
Hit http://ports.ubuntu.com precise-updates Release.gpg
Hit http://ports.ubuntu.com precise Release
Hit http://ports.ubuntu.com precise-security Release
Hit http://ports.ubuntu.com precise-updates Release
Hit http://ppa.launchpad.net precise/main Sources
Hit http://ports.ubuntu.com precise/main Sources
Hit http://ports.ubuntu.com precise/universe Sources
Hit http://ports.ubuntu.com precise/main armhf Packages
Hit http://ports.ubuntu.com precise/universe armhf Packages
Hit http://ports.ubuntu.com precise/main TranslationIndex
Hit http://ports.ubuntu.com precise/universe TranslationIndex
Hit http://ppa.launchpad.net precise/main armhf Packages
Ign http://ppa.launchpad.net precise/main TranslationIndex
Hit http://ports.ubuntu.com precise-security/main Sources
Hit http://ports.ubuntu.com precise-security/universe Sources
Get:1 http://ports.ubuntu.com precise-security/main armhf Packages [48.0 kB]
Ign http://ppa.launchpad.net precise/main Translation-en
Hit http://ports.ubuntu.com precise-security/universe armhf Packages
Hit http://ports.ubuntu.com precise-security/main TranslationIndex
Hit http://ports.ubuntu.com precise-security/universe TranslationIndex
Get:2 http://ports.ubuntu.com precise/main Translation-en [726 kB]
Hit http://ports.ubuntu.com precise/universe Translation-en
Hit http://ports.ubuntu.com precise-updates/main Sources
Hit http://ports.ubuntu.com precise-updates/universe Sources
Get:3 http://ports.ubuntu.com precise-updates/main armhf Packages [239 kB]
Hit http://ports.ubuntu.com precise-updates/universe armhf Packages
Hit http://ports.ubuntu.com precise-updates/main TranslationIndex
Hit http://ports.ubuntu.com precise-updates/universe TranslationIndex
Hit http://ports.ubuntu.com precise-security/main Translation-en
Hit http://ports.ubuntu.com precise-security/universe Translation-en
Hit http://ports.ubuntu.com precise-updates/main Translation-en
Hit http://ports.ubuntu.com precise-updates/universe Translation-en
Fetched 1012 kB in 6s (168 kB/s)
Reading package lists...
W: Duplicate sources.list entry http://ports.ubuntu.com/ubuntu-ports/ precise/main armhf Packages (/var/lib/apt/lists/ports.ubuntu.com_ubuntu-ports_dists_precise_main_binary-armhf_Packages)
W: Duplicate sources.list entry http://ports.ubuntu.com/ubuntu-ports/ precise/universe armhf Packages (/var/lib/apt/lists/ports.ubuntu.com_ubuntu-ports_dists_precise_universe_binary-armhf_Packages)
W: Duplicate sources.list entry http://ports.ubuntu.com/ubuntu-ports/ precise-security/main armhf Packages (/var/lib/apt/lists/ports.ubuntu.com_ubuntu-ports_dists_precise-security_main_binary-armhf_Packages)
W: Duplicate sources.list entry http://ports.ubuntu.com/ubuntu-ports/ precise-security/universe armhf Packages (/var/lib/apt/lists/ports.ubuntu.com_ubuntu-ports_dists_precise-security_universe_binary-armhf_Packages)
W: Duplicate sources.list entry http://ports.ubuntu.com/ubuntu-ports/ precise-updates/main armhf Packages (/var/lib/apt/lists/ports.ubuntu.com_ubuntu-ports_dists_precise-updates_main_binary-armhf_Packages)
W: Duplicate sources.list entry http://ports.ubuntu.com/ubuntu-ports/ precise-updates/universe armhf Packages (/var/lib/apt/lists/ports.ubuntu.com_ubuntu-ports_dists_precise-updates_universe_binary-armhf_Packages)
W: You may want to run apt-get update to correct these problems
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
  hwpack-linaro-lt-panda linux-firmware linux-headers-3.3.1-39-linaro-lt-omap
  linux-headers-linaro-lt-omap linux-image-3.3.1-39-linaro-lt-omap
  linux-image-linaro-lt-omap ti-uim
The following packages will be upgraded:
  crda devio flash-kernel iw libnl-3-200 libnl-genl-3-200 u-boot-tools uboot-mkimage
  wireless-crda wireless-regdb
10 upgraded, 7 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/53.3 MB of archives.
After this operation, 860 kB disk space will be freed.
WARNING: The following packages cannot be authenticated!
  libnl-3-200 libnl-genl-3-200 crda wireless-regdb wireless-crda
  linux-image-3.3.1-39-linaro-lt-omap devio flash-kernel linux-firmware
  linux-image-linaro-lt-omap linux-headers-3.3.1-39-linaro-lt-omap
  linux-headers-linaro-lt-omap ti-uim hwpack-linaro-lt-panda iw u-boot-tools
  uboot-mkimage
Install these packages without verification [y/N]? y
W: Duplicate sources.list entry http://ports.ubuntu.com/ubuntu-ports/ precise/main armhf Packages (/var/lib/apt/lists/ports.ubuntu.com_ubuntu-ports_dists_precise_main_binary-armhf_Packages)
W: Duplicate sources.list entry http://ports.ubuntu.com/ubuntu-ports/ precise/universe armhf Packages (/var/lib/apt/lists/ports.ubuntu.com_ubuntu-ports_dists_precise_universe_binary-armhf_Packages)
W: Duplicate sources.list entry http://ports.ubuntu.com/ubuntu-ports/ precise-security/main armhf Packages (/var/lib/apt/lists/ports.ubuntu.com_ubuntu-ports_dists_precise-security_main_binary-armhf_Packages)
W: Duplicate sources.list entry http://ports.ubuntu.com/ubuntu-ports/ precise-security/universe armhf Packages (/var/lib/apt/lists/ports.ubuntu.com_ubuntu-ports_dists_precise-security_universe_binary-armhf_Packages)
W: Duplicate sources.list entry http://ports.ubuntu.com/ubuntu-ports/ precise-updates/main armhf Packages (/var/lib/apt/lists/ports.ubuntu.com_ubuntu-ports_dists_precise-updates_main_binary-armhf_Packages)
W: Duplicate sources.list entry http://ports.ubuntu.com/ubuntu-ports/ precise-updates/universe armhf Packages (/var/lib/apt/lists/ports.ubuntu.com_ubuntu-ports_dists_precise-updates_universe_binary-armhf_Packages)
Can not write log, openpty() failed (/dev/pts not mounted?)
(Reading database ... 41783 files and directories currently installed.)
Preparing to replace libnl-3-200 3.2.3-2ubuntu2 (using .../libnl-3-200_3.2.3-2ubuntu2_armhf.deb) ...
Unpacking replacement libnl-3-200 ...
Preparing to replace libnl-genl-3-200 3.2.3-2ubuntu2 (using .../libnl-genl-3-200_3.2.3-2ubuntu2_armhf.deb) ...
Unpacking replacement libnl-genl-3-200 ...
Preparing to replace crda 1.1.2-1ubuntu1 (using .../crda_1.1.2-1ubuntu1_armhf.deb) ...
Unpacking replacement crda ...
Preparing to replace wireless-regdb 2011.04.28-1ubuntu3 (using .../wireless-regdb_2011.04.28-1ubuntu3_all.deb) ...
Unpacking replacement wireless-regdb ...
Preparing to replace wireless-crda 1.16 (using .../wireless-crda_1.16_armhf.deb) ...
Unpacking replacement wireless-crda ...
Selecting previously unselected package linux-image-3.3.1-39-linaro-lt-omap.
Unpacking linux-image-3.3.1-39-linaro-lt-omap (from .../linux-image-3.3.1-39-linaro-lt-omap_3.3.1-39.39~lt~ci~00000000000000+1337477527~4fb8f332_armhf.deb) ...
Done.
Preparing to replace devio 1.2-1build1 (using .../devio_1.2-1build1_armhf.deb) ...
Unpacking replacement devio ...
Preparing to replace flash-kernel 2.28ubuntu42linaro2 (using .../flash-kernel_2.28ubuntu42linaro2_armhf.deb) ...
Unpacking replacement flash-kernel ...
Selecting previously unselected package linux-firmware.
Unpacking linux-firmware (from .../linux-firmware_1.80~linaro3_all.deb) ...
Selecting previously unselected package linux-image-linaro-lt-omap.
Unpacking linux-image-linaro-lt-omap (from .../linux-image-linaro-lt-omap_3.3.1.39.39_armhf.deb) ...
Selecting previously unselected package linux-headers-3.3.1-39-linaro-lt-omap.
Unpacking linux-headers-3.3.1-39-linaro-lt-omap (from .../linux-headers-3.3.1-39-linaro-lt-omap_3.3.1-39.39~lt~ci~00000000000000+1337477527~4fb8f332_armhf.deb) ...
Selecting previously unselected package linux-headers-linaro-lt-omap.
Unpacking linux-headers-linaro-lt-omap (from .../linux-headers-linaro-lt-omap_3.3.1.39.39_armhf.deb) ...
Selecting previously unselected package ti-uim.
Unpacking ti-uim (from .../ti-uim_0.0+git20110201+c738944-1linaro6_armhf.deb) ...
Selecting previously unselected package hwpack-linaro-lt-panda.
Unpacking hwpack-linaro-lt-panda (from .../hwpack-linaro-lt-panda_20120608-203_armhf.deb) ...
Preparing to replace iw 3.2-1 (using .../pkgs/iw_3.2-1_armhf.deb) ...
Unpacking replacement iw ...
Preparing to replace u-boot-tools 2011.09-2 (using .../u-boot-tools_2011.09-2_armhf.deb) ...
Unpacking replacement u-boot-tools ...
Preparing to replace uboot-mkimage 2011.09-2 (using .../uboot-mkimage_2011.09-2_all.deb) ...
Unpacking replacement uboot-mkimage ...
Processing triggers for ureadahead ...
Can not write log, openpty() failed (/dev/pts not mounted?)
Setting up libnl-3-200 (3.2.3-2ubuntu2) ...
Setting up libnl-genl-3-200 (3.2.3-2ubuntu2) ...
Setting up wireless-regdb (2011.04.28-1ubuntu3) ...
Setting up crda (1.1.2-1ubuntu1) ...
Setting up wireless-crda (1.16) ...
Setting up linux-image-3.3.1-39-linaro-lt-omap (3.3.1-39.39~lt~ci~00000000000000+1337477527~4fb8f332) ...
Running depmod.
update-initramfs: deferring update (hook will be called later)
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/dkms 3.3.1-39-linaro-lt-omap /boot/vmlinuz-3.3.1-39-linaro-lt-omap
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.3.1-39-linaro-lt-omap /boot/vmlinuz-3.3.1-39-linaro-lt-omap
update-initramfs: Generating /boot/initrd.img-3.3.1-39-linaro-lt-omap
/bin/df: Warning: cannot read table of mounted file systems: No such file or directory
run-parts: executing /etc/kernel/postinst.d/zz-flash-kernel 3.3.1-39-linaro-lt-omap /boot/vmlinuz-3.3.1-39-linaro-lt-omap
Setting up devio (1.2-1build1) ...
Setting up flash-kernel (2.28ubuntu42linaro2) ...
Setting up linux-firmware (1.80~linaro3) ...
Setting up linux-image-linaro-lt-omap (3.3.1.39.39) ...
Setting up linux-headers-3.3.1-39-linaro-lt-omap (3.3.1-39.39~lt~ci~00000000000000+1337477527~4fb8f332) ...
Examining /etc/kernel/header_postinst.d.
run-parts: executing /etc/kernel/header_postinst.d/dkms 3.3.1-39-linaro-lt-omap /boot/vmlinuz-3.3.1-39-linaro-lt-omap
Setting up linux-headers-linaro-lt-omap (3.3.1.39.39) ...
Setting up ti-uim (0.0+git20110201+c738944-1linaro6) ...
Setting up hwpack-linaro-lt-panda (20120608-203) ...
Setting up iw (3.2-1) ...
Setting up u-boot-tools (2011.09-2) ...
Setting up uboot-mkimage (2011.09-2) ...
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
Reading package lists... Done
Building dependency tree
Reading state information... Done
linux-image-linaro-lt-omap set to automatically installed.
ti-uim set to automatically installed.
linux-headers-3.3.1-39-linaro-lt-omap set to automatically installed.
linux-headers-linaro-lt-omap set to automatically installed.
linux-firmware set to automatically installed.
linux-image-3.3.1-39-linaro-lt-omap set to automatically installed.
N: This command is deprecated. Please use 'apt-mark auto' and 'apt-mark manual' instead.
Done
Cleaning up ...W: Duplicate sources.list entry http://ports.ubuntu.com/ubuntu-ports/ precise/main armhf Packages (/var/lib/apt/lists/ports.ubuntu.com_ubuntu-ports_dists_precise_main_binary-armhf_Packages)
W: Duplicate sources.list entry http://ports.ubuntu.com/ubuntu-ports/ precise/universe armhf Packages (/var/lib/apt/lists/ports.ubuntu.com_ubuntu-ports_dists_precise_universe_binary-armhf_Packages)
W: Duplicate sources.list entry http://ports.ubuntu.com/ubuntu-ports/ precise-security/main armhf Packages (/var/lib/apt/lists/ports.ubuntu.com_ubuntu-ports_dists_precise-security_main_binary-armhf_Packages)
W: Duplicate sources.list entry http://ports.ubuntu.com/ubuntu-ports/ precise-security/universe armhf Packages (/var/lib/apt/lists/ports.ubuntu.com_ubuntu-ports_dists_precise-security_universe_binary-armhf_Packages)
W: Duplicate sources.list entry http://ports.ubuntu.com/ubuntu-ports/ precise-updates/main armhf Packages (/var/lib/apt/lists/ports.ubuntu.com_ubuntu-ports_dists_precise-updates_main_binary-armhf_Packages)
W: Duplicate sources.list entry http://ports.ubuntu.com/ubuntu-ports/ precise-updates/universe armhf Packages (/var/lib/apt/lists/ports.ubuntu.com_ubuntu-ports_dists_precise-updates_universe_binary-armhf_Packages)
W: You may want to run apt-get update to correct these problems
Done
------------------------------------------------------------
proc has been unmounted
Sleeping for 1 second(s) to wait for the partition to settle
Checking that no-one is using this disk right now ...
OK
partition ends on cylinder 1023, beyond the end of the disk
Warning: partition 1 does not end at a cylinder boundary
If you created or changed a DOS partition, /dev/foo7, say, then use dd(1)
to zero the first 512 bytes: dd if=/dev/zero of=/dev/foo7 bs=512 count=1
(See fdisk(8).)
Sleeping for 1 second(s) to wait for the partition to settle
  start: (c,h,s) expected (0,1,2) found (0,1,32)
  end: (c,h,s) expected (6,229,41) found (25,127,31)
  start: (c,h,s) expected (6,229,43) found (26,0,1)
  end: (c,h,s) expected (1020,34,4) found (1023,127,32)
partition ends on cylinder 1023, beyond the end of the disk

Formating boot partition

mkfs.vfat 3.0.9 (31 Jan 2010)

Formating root partition

mke2fs 1.41.14 (22-Dec-2010)
Filesystem label=rootfs
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
Stride=0 blocks, Stripe width=0 blocks
487680 inodes, 1947392 blocks
97369 blocks (5.00%) reserved for the super user
First data block=0
Maximum filesystem blocks=1996488704
60 block groups
32768 blocks per group, 32768 fragments per group
8128 inodes per group
Superblock backups stored on blocks:
 32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632

Writing inode tables: done
Creating journal (32768 blocks): done
Writing superblocks and filesystem accounting information: done

This filesystem will be automatically checked every 27 mounts or
180 days, whichever comes first. Use tune2fs -c or -i to override.
`/tmp/tmp9U4H4A/u-boot/u-boot.img' -> `/tmp/tmpryeBql/boot-disc/u-boot.img'
Traceback (most recent call last):
  File "/usr/bin/linaro-media-create", line 190, in <module>
    args.is_live, args.is_lowmem, args.consoles)
  File "/usr/lib/pymodules/python2.7/linaro_image_tools/media_create/boards.py", line 785, in populate_boot
    rootfs_uuid, boot_disk, boot_device_or_file)
  File "/usr/lib/pymodules/python2.7/linaro_image_tools/media_create/boards.py", line 906, in make_boot_files
    rootfs_uuid, boot_dir, boot_device_or_file)
  File "/usr/lib/pymodules/python2.7/linaro_image_tools/media_create/boards.py", line 658, in make_boot_files
    parts_dir)
  File "/usr/lib/pymodules/python2.7/linaro_image_tools/media_create/boards.py", line 793, in _get_kflavor_files
    return cls._get_kflavor_files_v2(path)
  File "/usr/lib/pymodules/python2.7/linaro_image_tools/media_create/boards.py", line 817, in _get_kflavor_files_v2
    kernel = _get_file_matching(os.path.join(path, cls.vmlinuz))
  File "/usr/lib/pymodules/python2.7/linaro_image_tools/media_create/boards.py", line 1650, in _get_file_matching
    raise ValueError("Too many files matching '%s' found." % regex)
ValueError: Too many files matching '/tmp/tmpryeBql/binary/boot/filesystem.dir/boot/vmlinuz-*-linaro-lt-omap' found.

Tom Gall (tom-gall) wrote :

Looks like this defect is specific to the developer image. Using an older ubuntu-desktop image for instance, things work. I do wish in the case above that the user would just be prompted for which kernel to choose. That might be a good way to handle ambiguity without erroring out.

Changed in linaro-image-tools:
status: New → Confirmed
Deepti B. Kalakeri (deeptik) wrote :

 I checked the packages in the hwpack and looks like there is only one vmlinuz as part of the

Deepti B. Kalakeri (deeptik) wrote :

please excuse me for the my comment #2, I accidentally posted the comment.

I checked the packages in the hwpack and looks like there is only one vmlinuz as part of the linux-image-3.3.1-39-linaro-lt-omap*deb file.
So this confirms the problem seems to be coming from developer images. On checking the rootfs it shows that we have binary/boot/filesystem.dir/boot/vmlinuz-3.3.1-38-linaro-lt-omap
and binary/boot/filesystem.dir/vmlinuz in it. I believe that the vmlinuz is part of the hwpack and not something to be part of the rootfs and it presence seems to be bug introduced somehow.
On verifying the images logs on s.l.o it showed linux-image-3.3.1-38-linaro-lt-omap l-m-c throws an error as it is finding 2 vmlinuz one from hwpack and the other from rootfs (referring to log http://snapshots.linaro.org/precise/images/developer/181/linaro-precise-developer-20120611-181.build-log.txt).
I verified the nano and devloper images and the reference to the linux-image-* is in only the developer images. I guess this is a bug in live builder ?

Apart from this when verifying the build logs I noticied reference to exynos linux-image (http://snapshots.linaro.org/precise/images/developer/130/linaro-precise-developer-20120517-130.build-log.txt). This does not seem right either.

On the other note, should we check on improving the l-m-c to give a choice to the user on selecting the desired file?

Changed in linaro-image-tools:
assignee: nobody → Deepti B. Kalakeri (deeptik)
Changed in linaro-image-tools:
importance: Undecided → Medium
Changed in linaro-image-tools:
status: Confirmed → Triaged
Deepti B. Kalakeri (deeptik) wrote :

It appears that for development image installs a lot more packages than the nano images and one of them being the lttng-tools as well and it confirms that it is the culprit package which induces the vmlinuz in it.

With the LB_APT_RECOMMENDS="true" lttng-tools package installation includes linux-image as part of the recommended package and hence the developer image seems to include the vmlinuz in it.

The fix for this problem is to set the LB_APT_RECOMMENDS="false" when building the developer images which will make sure that the recommended packages that includes linux-image will not get included in the images being built.
I built a test developer image successfully with LB_APT_RECOMMENDS="false" and the l-m-c was successful to write the image on the SD successfully.

The inclusion of the vmliuz into the developer image seems to exists probably since the earliest of the precise developer images, because when I checked the http://snapshots.linaro.org/precise/images/developer/70/linaro-precise-developer-20120417-70.build-log.txt ( which appears to be the oldest of the images) it seemed to contain reference to the linux-image.

I wonder if there is any testing being done on these hwpacks by LAVA. If there is not much tests on this then we should plan to include the tests on the developer images as well.

Changed in linaro-image-tools:
status: Triaged → In Progress
Loïc Minier (lool) wrote :

Disabling Recommends altogether might be a bit strong; the actual dependency chain seems to be that lttng-tools Recommends lttng-modules-dkms, lttng-modules-dkms Depends dkms and dkms Recommends linux-headers-foo | linux-headers, linux-image.

Perhaps it's possible to include a negative dependency such as "lttngs-tools dkms-" in our manifests? We could also try fixing the dkms deps to not pull headers / a kernel since this is unfriendly to alternate kernel packages like ours. As a last resort we could opt for disabling Recommends, but if we go that path we need to review all the Recommends that aren't pulled in anymore.

On 12 June 2012 14:56, Deepti B. Kalakeri wrote:
> The fix for this problem is to set the LB_APT_RECOMMENDS="false"

It isn't a fix, it's a work around. It should be used as the last option.
We should either fix the dependency or remove linux-image afterward.

Changed in linaro-image-tools:
milestone: none → 2012.06

I see two options worth discussion

1) add a little logic to the live-build configs to clear out any kernels/kernel packages that accidentially get installed as part of the assembly of the rootfs.

2) Likewise is there any reason why linaro-media-create can't handle more than one kernel being installed in the rootfs to begin with? This would seem the most defensive option since one can't predict future packages that might pull in a similar dep chain.

Ricardo Salveti (rsalveti) wrote :

From discussions with the ubuntu kernel team, we concluded that the kernel dependencies as recommends at the dkms package is bogus anyway, and would need a constant change to reflect all the new package names and such.

I believe we could just decide to remove the recommends line from the dkms package, as it's not even identifying the right header package to install when you're trying to build a module.

Ricardo Salveti (rsalveti) wrote :

Pushed a newer dkms package with the recommends line removed from it, once available the developer image will take it by default.

Changed in linaro-image-tools:
status: In Progress → Invalid
Changed in linaro-ubuntu:
status: New → In Progress
importance: Undecided → High
assignee: nobody → Ricardo Salveti (rsalveti)
milestone: none → 12.06
Fathi Boudra (fboudra) on 2012-06-19
no longer affects: linaro-image-tools
summary: - June 8 latest l-m-c & with latest precise armhf fails
+ Developer rootfs pulls linux-image package
Ricardo Salveti (rsalveti) wrote :

Tested with hwpack_linaro-lt-panda_20120619-224_armhf_supported.tar.gz and linaro-precise-developer-20120619-198.tar.gz and lmc worked as expected.

Changed in linaro-ubuntu:
status: In Progress → Fix Committed
Changed in linaro-ubuntu:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers