[Bug 575854] Re: rootstock: bashism introduced in bzr revision 94
Stefano Rivera
launchpad at rivera.za.net
Sun Jul 11 15:59:50 BST 2010
** Also affects: rootstock (Ubuntu Lucid)
Importance: Undecided
Status: New
--
rootstock: bashism introduced in bzr revision 94
https://bugs.launchpad.net/bugs/575854
You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is a direct subscriber.
Status in Tool to build an ubuntu root filesystem for a target device from scratch: New
Status in “rootstock” package in Ubuntu: Confirmed
Status in “rootstock” source package in Lucid: New
Bug description:
I: First stage install done
I: Downloading kernel image (deb) from external site
I: linux-image-2.6.32.11-l13_1.0lucid_armel.deb download complete
rootstock: 792: Bad substitution
Bashism: KERNEL_IMG_REL=${KERNEL_IMG_REL/_*_armel.deb}
Replace with: KERNEL_IMG_REL=${KERNEL_IMG_REL%%_*}
=== modified file 'rootstock'
--- rootstock 2010-04-15 21:57:01 +0000
+++ rootstock 2010-05-05 14:32:36 +0000
@@ -378,7 +378,7 @@
KERNEL_IMAGE_CMD="dpkg -x /tmp/$KERNEL_IMG /"
KERNEL_IMG_REL=${KERNEL_IMG##*linux-image-}
- KERNEL_IMG_REL=${KERNEL_IMG_REL/_*_armel.deb}
+ KERNEL_IMG_REL=${KERNEL_IMG_REL%%_*}
KERNEL_IMAGE_CREATE_INITRAMFS="update-initramfs -c -k $KERNEL_IMG_REL"
}
After:
I: Downloading kernel image (deb) from external site
I: linux-image-2.6.32.11-l13_1.0lucid_armel.deb download complete
I: Setting up serial tty in image
and it's generating the /boot/initrd.img:
ldconfig deferred processing now taking place
update-initramfs: Generating /boot/initrd.img-2.6.32.11-l13
More information about the Ubuntu-sponsors
mailing list