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
6 changes: 6 additions & 0 deletions live/src/agama-installer.changes
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Sep 30 14:54:18 UTC 2025 - Ladislav Slezák <lslezak@suse.com>

- Fixed creating the /LiveOS/.packages.json.gz file in SLE builds
(gh#agama-project/agama#2771)

-------------------------------------------------------------------
Tue Sep 16 07:21:28 UTC 2025 - Josef Reidinger <jreidinger@suse.com>

Expand Down
2 changes: 1 addition & 1 deletion live/src/config.sh
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ REPO="/etc/zypp/repos.d/agama-${DISTRO}.repo"
if [ -f "${REPO}.disabled" ]; then
mv "${REPO}.disabled" $REPO
fi
rm /etc/zypp/repos.d/*.disabled
rm -f /etc/zypp/repos.d/*.disabled

# configure the repositories in the Live system
# import the OBS key for the systemsmanagement OBS project
Expand Down
3 changes: 2 additions & 1 deletion live/src/fix_bootconfig
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,8 @@ if [ -n "\$target_dir" ]; then
# array and also for formatting the final JSON output
rpm --root "\$mount_dir2" -qa --queryformat \\
'\\{"name":"%{NAME}","version":"%{VERSION}","release":"%{RELEASE}","arch":"%{ARCH}"\\}' \\
| jq -s 'sort_by(.name|ascii_downcase)' | gzip > "\$target_dir/LiveOS/.packages.json.gz"
| chroot "\$mount_dir2" /usr/bin/jq -s 'sort_by(.name|ascii_downcase)' \\
| gzip > "\$target_dir/LiveOS/.packages.json.gz"

# copy the build info file if present
if [ -f "\$mount_dir2"/var/log/build/info ]; then
Expand Down