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
#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
-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 {} \;
$(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 \
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