Permalink
Browse files

Changes made to get iso working again.

  • Loading branch information...
1 parent 37215cb commit 1c870ab44d7ed06991ff06ed68c0ac3057f6c6c7 Scott Ullrich committed Jun 16, 2005
Showing with 31 additions and 25 deletions.
  1. +1 −1 copy_files_to_pfSense_Site.sh
  2. +30 −24 doall.sh
@@ -1,6 +1,6 @@
#!/bin/sh
-VERSION=0.62.1
+VERSION=0.67.8
PRODUCTNAME=pfSense
SCPUSERNAME=sullrich
DSTISO=pfSense-$VERSION.iso
View
@@ -17,29 +17,29 @@ rm -rf $PFSENSECVS
cvs -d:ext:sullrich@216.135.66.16:/cvsroot co pfSense
-cd $PFSENSECVS
-if [ ! -e $PFSENSECVS/libexec ]; then
- mkdir -p $PFSENSECVS/libexec
-fi
-#cp /usr/lib/libkrb5.so.7 $LOCALDIR/usr/lib/
+mkdir -p $PFSENSECVS/libexec
+cp /libexec/ld-elf.so.1 $PFSENSECVS/libexec/ld-elf.so.1
+cp /lib/libedit* $PFSENSECVS/lib/
+cp /bin/sh $PFSENSECVS/bin/
+cp /lib/libncurses.so.5 $PFSENSECVS/lib/
+cp /lib/libc* $PFSENSECVS/lib/
+cp /bin/ln /bin/rm $PFSENSECVS/bin/
mkdir -p $LOCALDIR/var/run
echo "#!/bin/sh" > $PFSENSECVS/script
-echo rm /etc/resolv.conf >> $PFSENSECVS/script
-echo rm /etc/hosts >> $PFSENSECVS/script
echo ln -s /cf/conf /conf >> $PFSENSECVS/script
echo ln -s /conf /cf/conf >> $PFSENSECVS/script
echo ln -s /var/etc/hosts /etc/hosts >> $PFSENSECVS/script
-echo ln -s /var/etc/resolv.conf /etc/resolv.conf >> $PFSENSECVS/script
echo ln -s /lib/libm.so.3 /lib/libm.so.2 >> $PFSENSECVS/script
-echo ln -s /lib/libc.so.5 /lib/libc.so.4 >> $PFSENSECVS/script
-echo ln -s /lib/libc.so.6 /lib/libc.so.5 >> $PFSENSECVS/script
-
cat $PFSENSECVS/script
chmod a+x $PFSENSECVS/script
-chroot $PFSENSECVS/ /script
-#find $PFSENSECVS -name CVS -exec rm -rf {} \;
+chroot $PFSENSECVS/ /bin/sh /script
+
+echo Nuking CVS...
+find $PFSENSECVS -type d -name CVS -exec rm -rf {}/* \;
+find $PFSENSECVS -type d -name CVS -exec rm -rf {} \;
rm -rf $PFSENSECVS.tgz
-cd $PFSENSECVS & tar czvPf $PFSENSECVS.tgz .
+cd $PFSENSECVS/ && tar czPf /home/sullrich/pfSense.tgz .
+
cd $LOCALDIR
./0.rmdir.sh
./1.mkdir.sh
@@ -49,14 +49,16 @@ cd $LOCALDIR
# nuke some extra stuff
find /usr/local/livefs -name sysinstall -exec rm -rf {} \;
-cd /home/sullrich/pfSense/ && tar czvPf /tmp/pfSense.tgz .
-cd /usr/local/livefs && tar xzvpf /tmp/pfSense.tgz
+cd /home/sullrich/pfSense/ && tar czPf /tmp/pfSense.tgz .
+
+# Uncomment for wrap builds.
+cd /usr/local/livefs && tar xzpf /tmp/pfSense.tgz
rm /usr/local/livefs/etc/hosts
cd /home/sullrich/freesbie
-#./4.kernel.sh pfSense.6
-./4.kernel.sh pfSense_wrap.6
+./4.kernel.sh pfSense.6
+#./4.kernel.sh pfSense_wrap.6
cp /sbin/brconfig /usr/local/livefs/sbin/
cp /usr/sbin/bsnmpd /usr/local/livefs/sbin/
@@ -80,10 +82,11 @@ cp /home/sullrich/pfSense.tgz $FREESBIEBASEDIR/dist/
cp /usr/lib/libstdc* $FREESBIEBASEDIR/usr/lib/
cp $LOCALDIR/files/foobar/ttys $FREESBIEBASEDIR/etc/ttys
-cp $LOCALDIR/files/loader.rc $FREESBIEBASEDIR/boot/loader.rc
-echo hint.acpi.0.disabled=\"1\" >> $FREESBIEBASEDIR/boot/device.hints
-cp /boot/defaults/loader.conf $FREESBIEBASEDIR/boot/loader.conf
-cp /boot/beastie.4th /usr/local/livefs/boot/
+
+#cp $LOCALDIR/files/loader.rc $FREESBIEBASEDIR/boot/loader.rc
+#echo hint.acpi.0.disabled=\"1\" >> $FREESBIEBASEDIR/boot/device.hints
+#cp /boot/defaults/loader.conf $FREESBIEBASEDIR/boot/loader.conf
+#cp /boot/beastie.4th /usr/local/livefs/boot/
mkdir -p $FREESBIEBASEDIR/usr/local/share/dfuibe_installer
cp $LOCALDIR/files/sources.conf \
@@ -112,8 +115,11 @@ cd /usr/src/sbin/pflogd && make && make install && cd /home/sullrich/freesbie
cp /sbin/pfctl /usr/local/livefs/sbin/
cp /sbin/pflogd /usr/local/livefs/sbin/
-./8.preparefs.sh
-./81.mkiso.sh
+# Set buildtime
+date > /usr/local/livefs/etc/version.buildtime
+
+#./8.preparefs.sh
+#./81.mkiso.sh
mkdir -p $UPDATES

0 comments on commit 1c870ab

Please sign in to comment.