Magellan Linux

Diff of /trunk/grubby/new-kernel-pkg

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

revision 2973 by niro, Thu Jun 30 10:22:14 2016 UTC revision 2996 by niro, Thu Jun 30 10:39:38 2016 UTC
# Line 155  mbkernel="${HYPERVISOR}" Line 155  mbkernel="${HYPERVISOR}"
155  mbargs="${HYPERVISOR_ARGS}"  mbargs="${HYPERVISOR_ARGS}"
156  adddracutargs=""  adddracutargs=""
157  addplymouthinitrd=""  addplymouthinitrd=""
158  DEBUGARG="systemd.debug"  DEBUGARG="systemd.log_level=debug systemd.log_target=kmsg"
159    
160  usage()  usage()
161  {  {
# Line 177  rungrubby() Line 177  rungrubby()
177   then   then
178   [[ ${MAKEDEBUG} != yes ]] && return 0   [[ ${MAKEDEBUG} != yes ]] && return 0
179   [[ -n ${verbose} ]] && echo "- First, making a debug entry."   [[ -n ${verbose} ]] && echo "- First, making a debug entry."
180   declare -x debugtitle=" with debugging"   if [[ ${ARCH} = s390 ]] || [[ ${ARCH} = s390x ]]
181     then
182     declare -x debugtitle="_with_debugging"
183     else
184     declare -x debugtitle=" with debugging"
185     fi
186   declare -x debugargs="${DEBUGARG}"   declare -x debugargs="${DEBUGARG}"
187   shift   shift
188   else   else
# Line 1056  fi Line 1061  fi
1061  # if we mounted the U-Boot directory, unmount it.  # if we mounted the U-Boot directory, unmount it.
1062  [[ -n ${mounted} ]] && umount ${ubootDir}  [[ -n ${mounted} ]] && umount ${ubootDir}
1063    
1064    # make sure changes make it to the disk.
1065    # if /boot is a mountpoint, force the meta data on disk
1066    # to by-pass writeback delay.
1067    # PPC64LE-only to deal with Petitboot issues
1068    if [[ ${ARCH} = ppc64le ]]
1069    then
1070        sync && mountpoint -q /boot && fsfreeze -f /boot && fsfreeze -u /boot
1071    fi
1072    
1073  exit 0  exit 0

Legend:
Removed from v.2973  
changed lines
  Added in v.2996