projects
/
grml-debootstrap.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
016fa9f
)
handle /dev/shm/* as directory, not as an mountpoint
author
Michael Gebetsroither
<michael@mgeb.org>
Thu, 3 Dec 2009 17:10:22 +0000
(18:10 +0100)
committer
Michael Gebetsroither
<michael@mgeb.org>
Thu, 3 Dec 2009 17:23:10 +0000
(18:23 +0100)
grml-debootstrap
patch
|
blob
|
history
diff --git
a/grml-debootstrap
b/grml-debootstrap
index
7434527
..
2544c85
100755
(executable)
--- a/
grml-debootstrap
+++ b/
grml-debootstrap
@@
-566,11
+566,7
@@
fi
PARTITION=''
DIRECTORY=''
-case $TARGET in
- /dev/*)
- PARTITION=1
- ;;
- *)
+set_target_directory(){
# assume we are installing into a directory, don't run mkfs and grub related stuff therefore
DIRECTORY=1
MNTPOINT="$TARGET"
@@
-578,7
+574,14
@@
case $TARGET in
TUNE2FS=''
FSCK=''
GRUB=''
+}
+
+case $TARGET in
+ /dev/shm/*) set_target_directory ;;
+ /dev/*)
+ PARTITION=1
;;
+ *) set_target_directory ;;
esac
# }}}