mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-27 11:13:24 +02:00
Zwischencommit Rootfiles...
Der Countdown laeuft... git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@334 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
This commit is contained in:
@@ -26,6 +26,8 @@
|
||||
|
||||
include Config
|
||||
|
||||
VER = ipfire
|
||||
|
||||
THISAPP = cdrom
|
||||
DL_FILE = rawrite.exe
|
||||
DL_FROM = $(URL_IPFIRE)
|
||||
@@ -81,8 +83,8 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
|
||||
# Compress root filesystem
|
||||
# Reason for this tar+untar+tar is removing of entries listed two or more in src/ROOTFILES
|
||||
mkdir -p /install/cdrom/{doc,dosutils,images}
|
||||
find $(DIR_SRC)/config/rootfiles -type f -maxdepth 1 | xargs cat >> /tmp/ROOTFILES
|
||||
find $(DIR_SRC)/config/rootfiles/ver_$(IPFVER) -type f -maxdepth 1 | xargs cat >> /tmp/ROOTFILES
|
||||
find $(DIR_SRC)/config/rootfiles/common -maxdepth 1 -type f | xargs cat >> /tmp/ROOTFILES
|
||||
find $(DIR_SRC)/config/rootfiles/ver_$(IPFVER) -maxdepth 1 -type f | xargs cat >> /tmp/ROOTFILES
|
||||
tar -c -C / --files-from=/tmp/ROOTFILES \
|
||||
-f /$(SNAME).tar --exclude='#*' --exclude='dev/pts/*' \
|
||||
--exclude='proc/*' --exclude='tmp/ROOTFILES'
|
||||
|
||||
Reference in New Issue
Block a user