-
Notifications
You must be signed in to change notification settings - Fork 44
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into kiwi-use-default-ruby
- Loading branch information
Showing
73 changed files
with
1,338 additions
and
269 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,6 +4,6 @@ | |
root = true | ||
|
||
# 2 space indentation | ||
[{*.sh}] | ||
[*.sh] | ||
indent_style = space | ||
indent_size = 2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
dracut agama-cmdline module | ||
------------------------------- | ||
|
||
This module writes any agama configuration given through the kernel cmdline | ||
to its own cmdline conf file copying it to the sysroot. | ||
|
31 changes: 31 additions & 0 deletions
31
live/root/usr/lib/dracut/modules.d/99agama-cmdline/agama-cmdline-conf.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
#! /bin/sh | ||
|
||
[ -e /dracut-state.sh ] && . /dracut-state.sh | ||
|
||
. /lib/dracut-lib.sh | ||
|
||
get_agama_args() { | ||
local _i _found | ||
|
||
for _i in $CMDLINE; do | ||
case $_i in | ||
LIBSTORAGE_* | YAST_* | agama* | Y2* | ZYPP_*) | ||
_found=1 | ||
;; | ||
esac | ||
|
||
if [ -n "$_found" ]; then | ||
printf "Agama variable found ($_i)" | ||
if ! strstr "$_i" "="; then | ||
# Set the variable as a boolean if there is no assignation | ||
_i="${_i}=1" | ||
fi | ||
echo $_i >>/etc/cmdline.d/99-agama-cmdline.conf | ||
fi | ||
unset _found | ||
done | ||
|
||
return 0 | ||
} | ||
|
||
get_agama_args |
21 changes: 21 additions & 0 deletions
21
live/root/usr/lib/dracut/modules.d/99agama-cmdline/module-setup.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
#!/bin/bash | ||
|
||
# called by dracut | ||
check() { | ||
return 0 | ||
} | ||
|
||
# called by dracut | ||
depends() { | ||
return 0 | ||
} | ||
|
||
installkernel() { | ||
return 0 | ||
} | ||
|
||
# called by dracut | ||
install() { | ||
inst_hook cmdline 99 "$moddir/agama-cmdline-conf.sh" | ||
inst_hook pre-pivot 99 "$moddir/save-agama-conf.sh" | ||
} |
11 changes: 11 additions & 0 deletions
11
live/root/usr/lib/dracut/modules.d/99agama-cmdline/save-agama-conf.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
#! /bin/sh | ||
|
||
[ -e /dracut-state.sh ] && . /dracut-state.sh | ||
|
||
. /lib/dracut-lib.sh | ||
|
||
if [ -e /etc/cmdline.d/99-agama-cmdline.conf ]; then | ||
echo "Creating agama conf" | ||
mkdir -p "$NEWROOT/etc/agama.d" | ||
cp /etc/cmdline.d/99-agama-cmdline.conf "$NEWROOT/etc/agama.d/cmdline.conf" | ||
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,6 +3,13 @@ Fri Jan 10 09:03:06 UTC 2025 - Imobach Gonzalez Sosa <[email protected]> | |
|
||
- Depend on Ruby's default version (gh#agama-project/agama#1872). | ||
|
||
------------------------------------------------------------------- | ||
Wed Jan 8 12:10:39 UTC 2025 - Knut Anderssen <[email protected]> | ||
|
||
- Make agama kernel cmdline options available in the sysroot at | ||
/etc/agama.d/cmdline.conf and set it as a EnvironmentFile | ||
in Agama related services (gh#agama-project/agama#1866). | ||
|
||
------------------------------------------------------------------- | ||
Tue Dec 10 12:46:06 UTC 2024 - Michal Filka <[email protected]> | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,15 @@ | ||
------------------------------------------------------------------- | ||
Wed Jan 8 14:07:21 UTC 2025 - Imobach Gonzalez Sosa <[email protected]> | ||
|
||
- Add support for products registration (jsc#PED-11192, | ||
gh#agama-project/agama#1809). | ||
|
||
------------------------------------------------------------------- | ||
Tue Jan 7 12:57:13 UTC 2025 - Lubos Kocman <[email protected]> | ||
|
||
- Drop yast from Leap 16.0 software selection | ||
code-o-o#leap/features#173 | ||
|
||
|
||
------------------------------------------------------------------- | ||
Mon Jan 6 14:41:28 UTC 2025 - Angela Briel <[email protected]> | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.