X-Git-Url: https://spindle.queued.net/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=mkext3.sh;h=d723f9f45ebd3b5c9664cbfcaf85828be67473df;hb=327c21cdf7408afb43afb62b6cc7dda9806a540d;hp=d362715c25c376f5f8da4fa11c191410704ded40;hpb=1b8908f7f5d529e47c6b23b40dad694563b6dffc;p=xodist diff --git a/mkext3.sh b/mkext3.sh index d362715..d723f9f 100755 --- a/mkext3.sh +++ b/mkext3.sh @@ -1,6 +1,6 @@ #!/bin/bash -e # -# Copyright © 2008 Andres Salomon +# Copyright © 2008-2009 Andres Salomon # # This file is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License as published by @@ -23,6 +23,8 @@ ROOT_DIR="" . ./functions.sh +CONFIG_TYPE=generic + # @img - fs image to attach loop device to # @offset - if the image is partitioned, the offset to attach at # @@ -149,7 +151,6 @@ mk_ext3_fs() # populate the filesystem mk_mount "$img" "ext3" "$partition_start" cp -ra "$root_dir"/* "$MOUNT_POINT" || true - create_fstab "$MOUNT_POINT" "ext3" grub_install "$img" "$MOUNT_POINT" rm_mount "$MOUNT_POINT" } @@ -162,6 +163,7 @@ usage() echo "Options:" 1>&2 echo " -l