[tyndur-devel] [PATCH] grub1 cdrom-image skript fixed
Stefan Linke ·
From: livinskull <livinskull at gmail.com> ! evt fehlendes Verzeichnis $ROOT_LOCAL wird nun erstellt Signed-off-by: livinskull <livinskull at gmail.com> --- build/scripts/image_cdrom_grub1 | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/build/scripts/image_cdrom_grub1 b/build/scripts/image_cdrom_grub1 index d8da018..2856ef6 100755 --- a/build/scripts/image_cdrom_grub1 +++ b/build/scripts/image_cdrom_grub1 @@ -126,6 +126,12 @@ mcopy -D o $ROOT/modules/ext2 $ROOT/modules/ramoverlay $ROOT/modules/pci l:/ # Konfigurationsdatei fuer mtools wieder loeschen rm -f $MTOOLSRC +# falls root-local nicht vorhanden, erstelle es +if [ ! -d "$ROOT_LOCAL" ]; then + mkdir $ROOT_LOCAL +fi + + # CD-Image bauen cp $FLOPPY_IMAGE_PATH $ROOT_CDROM mkisofs -b $(basename $FLOPPY_IMAGE_PATH) -m .svn -o $IMAGE_PATH $ROOT $ROOT_COMMON $ROOT_CDROM $ROOT_LOCAL -- 1.7.3.4