X-Git-Url: https://git.grml.org/?p=grml-live.git;a=blobdiff_plain;f=patches%2Ffai_support_aptitude_in_updatebase;fp=patches%2Ffai_support_aptitude_in_updatebase;h=173c4cf65805a2114fcf48818c42f1d99e103583;hp=0000000000000000000000000000000000000000;hb=3ff2a862f83553916a1148543d69a0bbcc97bf4d;hpb=87c37be5a0cd8450d3e724f673e59c3bd13d5e58 diff --git a/patches/fai_support_aptitude_in_updatebase b/patches/fai_support_aptitude_in_updatebase new file mode 100644 index 0000000..173c4cf --- /dev/null +++ b/patches/fai_support_aptitude_in_updatebase @@ -0,0 +1,14 @@ +--- /usr/lib/fai/updatebase.orig 2007-10-29 00:12:49.000000000 +0100 ++++ /usr/lib/fai/updatebase 2007-10-29 00:13:27.000000000 +0100 +@@ -31,7 +31,11 @@ + [ $? -ne 0 ] && yes '' | $ROOTCMD dpkg --configure -a + # using the above value, causes an error: "dpkg need action" + export aptopt= ++if [ -x /usr/bin/aptitude ] ; then ++$ROOTCMD aptitude $aptopt -f -y dist-upgrade $FAI_ROOT/$tmp