]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blobdiff - lfs/updater
Removed log/rootfile check of kernel modules
[people/pmueller/ipfire-2.x.git] / lfs / updater
index 176ee8a4e0b7f9ec3626c07db4636c991ebc8ff8..74603d3ca20f9a7a6da6c40d64183d3a7126e026 100644 (file)
@@ -54,13 +54,13 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        mkdir -p /install/updater
        mkdir -p /install/packages
 
-       find $(DIR_SRC)/config/rootfiles/updater/filelists -maxdepth 1 -type f | xargs cat >> /tmp/ROOTFILES
+       find $(DIR_SRC)/config/rootfiles/updater/filelists/* -maxdepth 1 | xargs cat >> /tmp/ROOTFILES
        sed -e "s/KVER/$(KVER)/g" -i /tmp/ROOTFILES
        tar -c -C / --files-from=/tmp/ROOTFILES \
                -f /$(SNAME).tar --exclude='#*' --exclude='dev/pts/*' \
                --exclude='proc/*' --exclude='tmp/ROOTFILES'
        mv -f /tmp/ROOTFILES /install/updater/ROOTFILES
-       tar -x -C /tmp -f /$(SNAME).tar
+       tar --preserve --numeric-owner -x  -C /tmp -f /$(SNAME).tar
        rm -f /$(SNAME).tar
        cd /tmp && tar cf /install/updater/files * && rm -rf *
        cat /install/updater/ROOTFILES | grep -v "#" > /install/updater/ROOTFILES.tmp
@@ -70,13 +70,13 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        # Other files
        cp $(DIR_SRC)/config/rootfiles/updater/update.sh /install/updater/
        chmod 755 /install/updater/update.sh
-       cd /install/updater && tar cf /install/packages/core-upgrade-2.1-16.ipfire \
+       cd /install/updater && tar cf /install/packages/core-upgrade-2.1-21.ipfire \
                update.sh files ROOTFILES
        rm -rf /install/updater
 
        sed -e "s/NAME/core-upgrade/g" \
                -e "s/VER/2.1/g" \
-               -e "s/RELEASE/16/g" \
+               -e "s/RELEASE/21/g" \
                -e "s/DEPS/$(DEPS)/g" \
-               -e "s/SIZE/`ls -l \/install\/packages\/core-upgrade-2.1-16.ipfire | awk '{ print $$5 }'`/g" \
-               < /usr/src/src/pakfire/meta > /install/packages/meta-core-upgrade-16
+               -e "s/SIZE/`ls -l \/install\/packages\/core-upgrade-2.1-21.ipfire | awk '{ print $$5 }'`/g" \
+               < /usr/src/src/pakfire/meta > /install/packages/meta-core-upgrade-21