diff options
author | Erik Troan <ewt@redhat.com> | 2001-06-28 18:36:06 +0000 |
---|---|---|
committer | Erik Troan <ewt@redhat.com> | 2001-06-28 18:36:06 +0000 |
commit | a0dd51fef15622599d5c66d3f8020ff0e32146f0 (patch) | |
tree | f428d906d542c38afe3c1e8f433c5b1855e94663 /scripts | |
parent | 332390ec8005248f05b391ae927ad2c8f51a94b3 (diff) | |
download | anaconda-a0dd51fef15622599d5c66d3f8020ff0e32146f0.tar.gz anaconda-a0dd51fef15622599d5c66d3f8020ff0e32146f0.tar.xz anaconda-a0dd51fef15622599d5c66d3f8020ff0e32146f0.zip |
make an empty ext2 image for the loader -- this should be removed if/when we switch to ramfs/tmpfs
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/mk-images | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/mk-images b/scripts/mk-images index 7d45f6526..71466c98b 100755 --- a/scripts/mk-images +++ b/scripts/mk-images @@ -472,6 +472,11 @@ EOF EOF ln -s fb0 $MBD_DIR/dev/fb + dd if=/dev/zero of=$MBD_DIR/etc/ramfs.img.big bs=1k count=7168 + mke2fs -Fq $MBD_DIR/etc/ramfs.img.big + gzip -9 < $MBD_DIR/etc/ramfs.img.big > $MBD_DIR/etc/ramfs.img + rm -f $MBD_DIR/etc/ramfs.img.big + cat > $MBD_DIR/.profile <<EOF PATH=/bin:/usr/bin:/usr/sbin:/usr/X11R6/bin:/mnt/sbin:/mnt/usr/sbin:/mnt/bin:/mnt/usr/bin export PATH |