Magellan Linux

Diff of /mage/branches/alx-0_6_0/profiles/alx-060/forced-uninstall

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

revision 2726 by niro, Wed Aug 10 16:10:50 2011 UTC revision 2727 by niro, Thu Aug 11 09:32:02 2011 UTC
# Line 165  BASESYSTEM="$(< /etc/mage-profile/basesy Line 165  BASESYSTEM="$(< /etc/mage-profile/basesy
165  if [[ -z $(magequery -n ${BASESYSTEM}) ]]  if [[ -z $(magequery -n ${BASESYSTEM}) ]]
166  then  then
167   # first keep some important files   # first keep some important files
168    
169     # fix missing /dev/root device
170     if [[ ! -e /dev/root ]]
171     then
172     rootdev=$(basename $(mount | grep ' / ' | cut -d' ' -f1))
173     [[ -e /dev/${rootdev} ]] && ln -snf ${rootdev} /dev/root
174     fi
175    
176   # export bootstrap to not start any services   # export bootstrap to not start any services
177   export MAGE_BOOTSTRAP=true   export MAGE_BOOTSTRAP=true
178   mage install ${BASESYSTEM}   mage install ${BASESYSTEM}

Legend:
Removed from v.2726  
changed lines
  Added in v.2727