mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-15 05:22:59 +02:00
fixed updatecache path on cdrom
added coreversion magic to cdrom added all files from core's to cdrom git-svn-id: http://svn.ipfire.org/svn/ipfire/branches/2.1/trunk@1162 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
This commit is contained in:
1
config/rootfiles/cdrom_corever
Normal file
1
config/rootfiles/cdrom_corever
Normal file
@@ -0,0 +1 @@
|
||||
5
|
||||
@@ -1658,6 +1658,6 @@ srv/web/ipfire/html
|
||||
#srv/web/ipfire/html/themes/ipfire/include/colours.txt
|
||||
#srv/web/ipfire/html/themes/ipfire/include/functions.pl
|
||||
#srv/web/ipfire/html/themes/ipfire/include/style.css
|
||||
#srv/web/ipfire/html/updatecache
|
||||
/var/updatecache
|
||||
#srv/web/ipfire/html/updatecache/download
|
||||
#srv/web/ipfire/html/updatecache/metadata
|
||||
|
||||
@@ -85,7 +85,8 @@ ifeq "$(PASS)" "C"
|
||||
-find /etc/httpd/conf -name .svn -exec rm -rf {} \;
|
||||
|
||||
# Copy all html/cgi-bin files
|
||||
mkdir -p /srv/web/ipfire/{cgi-bin,html/updatecache/{download,metadata}}
|
||||
mkdir -p /srv/web/ipfire/{cgi-bin,html}
|
||||
mkdir -p /var/updatecache/{download,metadata}
|
||||
cp -aR $(DIR_SRC)/html/* /srv/web/ipfire
|
||||
-find /srv/web/ipfire -name .svn -exec rm -rf {} \;
|
||||
|
||||
|
||||
@@ -48,11 +48,14 @@ md5 :
|
||||
$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
|
||||
rm -rf /install/cdrom /tmp/*
|
||||
|
||||
cp -f $(DIR_SRC)/config/rootfiles/cdrom_corever /opt/pakfire/db/core/mine
|
||||
|
||||
# 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
|
||||
find $(DIR_SRC)/config/rootfiles/common -maxdepth 1 -type f | xargs cat >> /tmp/ROOTFILES
|
||||
find $(DIR_SRC)/config/rootfiles/ver_$(ED) -maxdepth 1 -type f | xargs cat >> /tmp/ROOTFILES
|
||||
find $(DIR_SRC)/config/rootfiles/core/*/files -maxdepth 1 -type f | xargs cat >> /tmp/ROOTFILES
|
||||
sed -e "s/KVER/$(KVER)/g" -i /tmp/ROOTFILES
|
||||
|
||||
tar -c -C / --files-from=/tmp/ROOTFILES \
|
||||
|
||||
12
lfs/squid
12
lfs/squid
@@ -114,12 +114,12 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
|
||||
ln -fs /bin/false /var/ipfire/updatexlrator/autocheck/cron.weekly
|
||||
|
||||
chown -R nobody:nobody /var/ipfire/updatexlrator
|
||||
chown nobody.squid /srv/web/ipfire/html/updatecache
|
||||
chown nobody.squid /srv/web/ipfire/html/updatecache/download
|
||||
chown nobody.squid /srv/web/ipfire/html/updatecache/metadata
|
||||
chmod 775 /srv/web/ipfire/html/updatecache
|
||||
chmod 775 /srv/web/ipfire/html/updatecache/download
|
||||
chmod 775 /srv/web/ipfire/html/updatecache/metadata
|
||||
chown nobody.squid /var/updatecache
|
||||
chown nobody.squid /var/updatecache/download
|
||||
chown nobody.squid /var/updatecache/metadata
|
||||
chmod 775 /var/updatecache
|
||||
chmod 775 /var/updatecache/download
|
||||
chmod 775 /var/updatecache/metadata
|
||||
chmod 755 /var/log/updatexlrator
|
||||
|
||||
chown squid:squid /var/log/squid
|
||||
|
||||
Reference in New Issue
Block a user