Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion live/root/usr/bin/kernel-cmdline-conf.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ write_kernel_args() {
case ${_i} in
# remove all agama kernel params
# Add here also all linuxrc supported parameters
LIBSTORAGE_* | YAST_* | inst* | agama* | Y2* | ZYPP_* | autoyast* )
LIBSTORAGE_* | YAST_* | inst* | agama* | live* | Y2* | ZYPP_* | autoyast*)
_found=1
;;
esac
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@

TARGET="${1:-/run/agama/cmdline.d/agama.conf}"
ENV_TARGET="${1:-/run/agama/environment.conf}"
mkdir -p "/run/agama/cmdline.d"
touch "$TARGET"
touch "$ENV_TARGET"
get_agama_args() {
local _i _found _env

Expand All @@ -15,7 +18,7 @@ get_agama_args() {
_found=1
_env=1
;;
inst* | agama*)
agama* | live* | inst*)
_found=1
;;
esac
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,4 @@ installkernel() {
install() {
inst_hook cmdline 99 "$moddir/agama-cmdline-conf.sh"
inst_hook cmdline 99 "$moddir/agama-network-compat.sh"
inst_hook pre-pivot 99 "$moddir/save-agama-conf.sh"
}

This file was deleted.