Mercurial > hg > aboriginal
changeset 611:e111467e0476
Work around an issue with Gentoo.
author | Rob Landley <rob@landley.net> |
---|---|
date | Sat, 07 Feb 2009 14:38:44 -0600 |
parents | a47844b73616 |
children | 301810fee287 |
files | sources/toys/run-emulator.sh |
diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/sources/toys/run-emulator.sh Fri Feb 06 00:21:02 2009 -0600 +++ b/sources/toys/run-emulator.sh Sat Feb 07 14:38:44 2009 -0600 @@ -97,6 +97,9 @@ if [ ! -z "$HDBMEGS" ] then + # Some distros don't put /sbin:/usr/sbin in the $PATH for non-root users. + [ -z "${which mke2fs}" ] && export PATH=/sbin:/usr/sbin:$PATH + dd if=/dev/zero of="$HDB" bs=1024 seek=$[$HDBMEGS*1024-1] count=1 && mke2fs -b 1024 -F "$HDB" -i 4096 && tune2fs -j -c 0 -i 0 "$HDB"