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
3 changes: 3 additions & 0 deletions live/src/_service
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<services>
<service mode="buildtime" name="kiwi_metainfo_helper"/>
</services>
12 changes: 12 additions & 0 deletions live/src/config.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,18 @@ echo "Configure image: [$kiwi_iname]..."
# setup baseproduct link
suseSetupProduct

# save the current build data, the %VARIABLES% are replaced by the OBS
# kiwi_metainfo_helper service before starting the build
mkdir -p /var/log/build
cat << EOF > /var/log/build/info
Build date: $(LC_ALL=C date -u "+%F %T %Z")
Build number: Build%RELEASE%
Image profile: $kiwi_profiles
Image version: $kiwi_iversion
Image type: $kiwi_type
Source URL: %SOURCEURL%
EOF

# enable the corresponding repository
DISTRO=$(grep "^NAME" /etc/os-release | cut -f2 -d\= | tr -d '"' | tr " " "_")
REPO="/etc/zypp/repos.d/agama-${DISTRO}.repo"
Expand Down
3 changes: 2 additions & 1 deletion rust/agama-lib/src/logs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,9 @@ const DEFAULT_COMMANDS: [(&str, &str); 6] = [
("rpm -qa", "rpm-qa"),
];

const DEFAULT_PATHS: [&str; 14] = [
const DEFAULT_PATHS: [&str; 15] = [
// logs
"/var/log/build",
"/var/log/YaST2",
"/var/log/zypper.log",
"/var/log/pbl.log",
Expand Down
Loading