Some corrections/suggestions to live-helper
- Subject: Some corrections/suggestions to live-helper
- From: Antonio.Amorim at sim.fc.ul.pt (Antonio Amorim)
- Date: Fri, 29 Jun 2007 20:26:31 +0100
- Message-id: <[🔎] 46855CE7.1050401@sim.fc.ul.pt>
Dear colleagues,
First of all, my thanks. Live-helper is really becoming an excellent tool!
I add bellow some corrections to live-helper that I put together. If
you would rather have them as separate bug reports please let me know.
1 - On /etc/cron.daily/live-helper
the ARCHITECTURE options -a amd64 or -a i386 are missing from
the make-live statment.
Something like:
if [ "$ARCHITECTURE" == "amd64" ]
then
OPTIONS="${OPTIONS} -a amd64"
fi
if [ "$ARCHITECTURE" == "i386" ]
then
OPTIONS="${OPTIONS} -a i386"
fi
2 - For amd64, in lh_binary_debian-installer, downloading the elilo
package raises an exception that is caught by trap and messes
everything. Please remove it.
@@ -175,7 +202,7 @@
case "${LIVE_ARCHITECTURE}" in
amd64)
- DI_PACKAGES="linux-image-2.6-amd64 elilo lilo grub"
+ DI_PACKAGES="linux-image-2.6-amd64 lilo grub"
;;
i386)
3 - If one has a package list that contains many packages aptitude can
go into an infinite loop while guessing the dependences. I have seen
this behavior systematically in etch.
Everything is fine if aptitude installs one package at the time.
My patch goes in lh_chroot_packageslists:
--- lh_chroot_packageslists 2007-06-16 23:42:41.000000000 +0100
+++ lh_chroot_packageslists.new 2007-06-16 23:44:59.000000000 +0100
@@ -61,19 +61,21 @@
# Installing package list
case "${LH_APT}" in
apt|apt-get)
- Chroot "xargs
--arg-file=/root/${LIST} apt-get install --yes"
+ Chroot "xargs -L 1
--arg-file=/root/${LIST} apt-get install --yes"
;;
aptitude)
- Chroot "xargs
--arg-file=/root/${LIST} aptitude install --assume-yes"
+ Chroot "xargs -L 1
--arg-file=/root/${LIST} aptitude install --assume-yes"
;;
esac
# Removing package list
rm -f chroot/root/"${LIST}"
fi
+
done
+
I hope this can help a bit your excellent work.
All the best,
Antonio Amorim
www.paipix.org
Reply to: