]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blobdiff - lfs/shadow
Padlock und DMA Patch fuer die VIA Boards hinzugefuegt.
[people/pmueller/ipfire-2.x.git] / lfs / shadow
index 477a0d83e8d15222a97618d4fba812ce39fedd76..aedef2606a1ea67c4da65512ba749a70010554da 100644 (file)
@@ -71,7 +71,7 @@ $(subst %,%_MD5,$(objects)) :
 
 $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        @$(PREBUILD)
-       @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
+       @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar jxf $(DIR_DL)/$(DL_FILE)
        cd $(DIR_APP) && ./configure --libdir=/lib --enable-shared --without-selinux --disable-nls
        cd $(DIR_APP) && sed -i 's/groups$(EXEEXT) //' src/Makefile
        cd $(DIR_APP) && find man -name Makefile -exec sed -i '/groups/d' {} \;
@@ -87,5 +87,7 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        rm -v /lib/libshadow.so
        ln -sfv ../../lib/libshadow.so.0 /usr/lib/libshadow.so
        mkdir -v /etc/default
+       touch /etc/shadow
+       chmod 600 /etc/shadow
        @rm -rf $(DIR_APP)
        @$(POSTBUILD)