livecd: remaster/livecd_chroot - add creation of rpm base if not e...
havner
havner at pld-linux.org
Fri Feb 23 21:00:44 CET 2007
Author: havner Date: Fri Feb 23 20:00:44 2007 GMT
Module: livecd Tag: HEAD
---- Log message:
- add creation of rpm base if not exists
---- Files affected:
livecd/remaster:
livecd_chroot (1.1 -> 1.2)
---- Diffs:
================================================================
Index: livecd/remaster/livecd_chroot
diff -u livecd/remaster/livecd_chroot:1.1 livecd/remaster/livecd_chroot:1.2
--- livecd/remaster/livecd_chroot:1.1 Tue Oct 17 11:15:06 2006
+++ livecd/remaster/livecd_chroot Fri Feb 23 21:00:39 2007
@@ -48,6 +48,9 @@
fi
if [ "$POLDEK" = "yes" ]; then
+ if [ ! -f "$ROOTFS/var/lib/rpm/Packages" ]; then
+ rpm --root $ROOTFS --initdb
+ fi
poldek $POLDEK_OPTS --root="$ROOTFS" --uniq
exit $?
fi
================================================================
---- CVS-web:
http://cvs.pld-linux.org/livecd/remaster/livecd_chroot?r1=1.1&r2=1.2&f=u
More information about the pld-cvs-commit
mailing list