diff options
Diffstat (limited to 'examples/lvmpbuilder/sample_setup_base')
-rwxr-xr-x | examples/lvmpbuilder/sample_setup_base | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/examples/lvmpbuilder/sample_setup_base b/examples/lvmpbuilder/sample_setup_base deleted file mode 100755 index 5ce5ce5..0000000 --- a/examples/lvmpbuilder/sample_setup_base +++ /dev/null @@ -1,34 +0,0 @@ -#!/bin/sh -#The files in this directory (except pbuilderrc) were written by -#(C) 2006 Kapil Hari Paranjape <kapil@imsc.res.in>. -#They are placed in the public domain. You can do with them exactly as you wish. - -# Source the pbuilderrc file -. /usr/lib/pbuilder/pbuilder-loadconfig - -echo $HOME : $BASEDEV : $COWDEV - -if [ -z "$BASEDEV" -o -z "$COWDEV" ] -then - echo Please define BASEDEV and COWDEV in the pbuilderrc file - exit 1 -fi - -# setup for creation -mke2fs -O dir_index $BASEDEV -mount $BASEDEV $BUILDPLACE - -# Use debootstrap to create -DISTRIBUTION=${DISTRIBUTION:-"sid"} -$DEBOOTSTRAP ${DEBOOTSTRAPOPTS[@]} $DISTRIBUTION $BUILDPLACE $MIRRORSITE - -# run update -pbuilder update --no-targz - -# finalise base -umount $BUILDPLACE -e2fsck -f $BASEDEV -blockdev --setro $BASEDEV - -echo Done. - |