[Lunar-commits] r24064 - lunar-iso/trunk/scripts
Auke Kok
sofar at lunar-linux.org
Sat Apr 14 21:30:06 CEST 2007
Author: sofar
Date: 2007-04-14 21:30:05 +0200 (Sat, 14 Apr 2007)
New Revision: 24064
Modified:
lunar-iso/trunk/scripts/aaa_base
Log:
No longer need to explicitly add kernel includes, they're in the module. also wildcard
optimization files.
Modified: lunar-iso/trunk/scripts/aaa_base
===================================================================
--- lunar-iso/trunk/scripts/aaa_base 2007-04-14 19:27:00 UTC (rev 24063)
+++ lunar-iso/trunk/scripts/aaa_base 2007-04-14 19:30:05 UTC (rev 24064)
@@ -57,16 +57,10 @@
-e "^/var/lock/" \
-e "^/var/lib/" \
-e "^/var/run/" > $ISO_TARGET/.present
-# add the kernel includes as well
-find $ISO_TARGET/usr/include/{linux,asm} | sed "s:^$ISO_TARGET::g" >> $ISO_TARGET/.present
# add the install logs
cat $ISO_TARGET/var/log/lunar/install/* | sort | uniq > $ISO_TARGET/.tracked
diff -U0 $ISO_TARGET/.tracked $ISO_TARGET/.present | grep '^\+[^+]' | sed 's/^+//g' > $ISO_TARGET/.aaa_base.list
-echo "/etc/lunar/local/optimizations.CCACHE" >> $ISO_TARGET/.aaa_base.list
-echo "/etc/lunar/local/optimizations.GCC_3_4" >> $ISO_TARGET/.aaa_base.list
-echo "/etc/lunar/local/optimizations.GNU_LD" >> $ISO_TARGET/.aaa_base.list
-echo "/etc/lunar/local/optimizations.GNU_MAKE" >> $ISO_TARGET/.aaa_base.list
-echo "/etc/lunar/local/optimizations.WRAPPERS" >> $ISO_TARGET/.aaa_base.list
+for n in /etc/lunar/local/optimizations.* ; do echo $n >> $ISO_TARGET/.aaa_base.list ; done
# make the tarball
chroot $ISO_TARGET tar cjf /var/cache/lunar/aaa_base.tar.bz2 -T .aaa_base.list --no-recursion
More information about the Lunar-commits
mailing list