Annotation of /trunk/bootstrap/bootstrap-default-system.sh.in
Parent Directory | Revision Log
Revision 2191 -
(hide annotations)
(download)
Wed Oct 9 10:32:55 2013 UTC (10 years, 11 months ago) by niro
File size: 436 byte(s)
Wed Oct 9 10:32:55 2013 UTC (10 years, 11 months ago) by niro
File size: 436 byte(s)
-fixed header
1 | niro | 341 | #!/bin/bash |
2 | niro | 2191 | # $Id$ |
3 | niro | 341 | |
4 | # installs magellan-linux from a livecd with its default settings | ||
5 | |||
6 | # need r00t privs | ||
7 | [[ $(id -u) != 0 ]] && die "you must be r00t." | ||
8 | |||
9 | niro | 2190 | if [[ -z $(cat /proc/mounts | grep @STAGINGDIR@) ]] |
10 | niro | 341 | then |
11 | niro | 2190 | echo "No partition mounted to @STAGINGDIR@. Aborting bootstrap." |
12 | niro | 341 | exit 1 |
13 | fi | ||
14 | |||
15 | /usr/sbin/mage-bootstrap \ | ||
16 | niro | 1076 | --update-tarball \ |
17 | niro | 341 | --magerc /etc/mage.rc \ |
18 | niro | 2189 | --root @STAGINGDIR@ \ |
19 | niro | 341 | --profile $(basename $(readlink /etc/mage-profile)) |