[Midnightbsd-cvs] src: install-iso2img.sh: Make some needed changes.

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Thu Jan 15 23:26:31 EST 2009


Log Message:
-----------
Make some needed changes.  Switch to pax.

Modified Files:
--------------
    src/nrelease:
        install-iso2img.sh (r1.2 -> r1.3)

-------------- next part --------------
Index: install-iso2img.sh
===================================================================
RCS file: /home/cvs/src/nrelease/install-iso2img.sh,v
retrieving revision 1.2
retrieving revision 1.3
diff -L nrelease/install-iso2img.sh -L nrelease/install-iso2img.sh -u -r1.2 -r1.3
--- nrelease/install-iso2img.sh
+++ nrelease/install-iso2img.sh
@@ -1,7 +1,5 @@
 #!/bin/sh
 # beerware license, written by Dario Freni (saturnero at freesbie.org)
-#
-# You can set some variables here. Edit them to fit your needs.
 
 # Set serial variable to 0 if you don't want serial console at all,
 # 1 if you want comconsole and 2 if you want comconsole and vidconsole
@@ -41,9 +39,7 @@
 mount /dev/${imgdev}a ${tmpdir}/img
 
 echo "Copying files to the image..."
-( cd ${tmpdir}/iso && find . -print -depth | gcpio -dump ${tmpdir}/img )
-#bzcat ${tmpdir}/iso/dist/root.dist.bz2 | mtree -PUr -p ${tmpdir}/img 2>&=
-#1 > /dev/null
+( cd ${tmpdir}/iso && pax -rw . ${tmpdir}/img )
 
 #echo "/dev/ufs/${UFS_LABEL} / ufs ro 1 1" > ${tmpdir}/img/etc/fstab
 


More information about the Midnightbsd-cvs mailing list