Magellan Linux

Diff of /trunk/bootstrap/bootstrap-default-system.sh.in

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2183 by niro, Wed Oct 9 09:50:44 2013 UTC revision 2191 by niro, Wed Oct 9 10:32:55 2013 UTC
# Line 1  Line 1 
1  #!/bin/bash  #!/bin/bash
2  # $Header: /home/cvsd/magellan-cvs/magellan-src/bootstrap/scripts/bootstrap-default-system.sh,v 1.1 2006-02-23 17:42:53 niro Exp $  # $Id$
3    
4  # installs magellan-linux from a livecd with its default settings  # installs magellan-linux from a livecd with its default settings
5    
6  # need r00t privs  # need r00t privs
7  [[ $(id -u) != 0 ]] && die "you must be r00t."  [[ $(id -u) != 0 ]] && die "you must be r00t."
8    
9  if [[ -z $(cat /proc/mounts | grep /mnt/magellan) ]]  if [[ -z $(cat /proc/mounts | grep @STAGINGDIR@) ]]
10  then  then
11   echo "No partition mounted to /mnt/magellan. Aborting bootstrap."   echo "No partition mounted to @STAGINGDIR@. Aborting bootstrap."
12   exit 1   exit 1
13  fi  fi
14    
15  /usr/sbin/mage-bootstrap \  /usr/sbin/mage-bootstrap \
16   --update-tarball \   --update-tarball \
17   --magerc /etc/mage.rc \   --magerc /etc/mage.rc \
18   --root /mnt/magellan \   --root @STAGINGDIR@ \
19   --profile $(basename $(readlink /etc/mage-profile))   --profile $(basename $(readlink /etc/mage-profile))

Legend:
Removed from v.2183  
changed lines
  Added in v.2191