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 |
{ |
{ |
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 |
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 |