Fix alsa kmod build on buildsystems with ipfire kernel

Fix updater directory permission/owner handling
This commit is contained in:
Arne Fitzenreiter
2008-10-06 12:26:11 +02:00
parent ffb19dad5f
commit 458f04f29e
5 changed files with 7 additions and 13 deletions

View File

@@ -95,7 +95,7 @@ ifeq "$(KMOD)" "1"
cd $(DIR_SRC) && tar xfj $(DIR_DL)/alsa-driver-$(VER).tar.bz2
cd $(DIR_SRC)/alsa-driver-$(VER) && sed -i -e "s| soc/ | |g" Makefile
cd $(DIR_SRC)/alsa-driver-$(VER) && sed -i -e "s| soc||g" Makefile
cd $(DIR_SRC)/alsa-driver-$(VER) && ./configure
cd $(DIR_SRC)/alsa-driver-$(VER) && ./configure --with-kernel=/usr/src/linux
cd $(DIR_SRC)/alsa-driver-$(VER) && make
cd $(DIR_SRC)/alsa-driver-$(VER) && make install
else

View File

@@ -91,7 +91,7 @@ $(subst %,%_MD5,$(objects)) :
$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
@$(PREBUILD)
@rm -rf $(DIR_APP) $(DIR_SRC)/linux $(DIR_SRC)/xen-* && cd $(DIR_SRC) && tar jxf $(DIR_DL)/$(DL_FILE)
@rm -rf $(DIR_APP) $(DIR_SRC)/linux* $(DIR_SRC)/xen-* && cd $(DIR_SRC) && tar jxf $(DIR_DL)/$(DL_FILE)
ln -s linux-$(VER) /usr/src/linux
# Security fix for CIFS & Netfilter SNMP

View File

@@ -60,7 +60,7 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
-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