Accepting request 1153997 from home:favogt:branches:devel:kubic:ignition

Not directly tested but copy-pasted from combustion where it works fine

- module-setup.sh: Use $dracutsysrootdir

OBS-URL: https://build.opensuse.org/request/show/1153997
OBS-URL: https://build.opensuse.org/package/show/devel:kubic:ignition/ignition?expand=0&rev=119
This commit is contained in:
Ignaz Forster 2024-03-01 13:04:07 +00:00 committed by Git OBS Bridge
parent 6d7af7128e
commit aca8707f84
3 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Mar 1 12:53:50 UTC 2024 - Fabian Vogt <fvogt@suse.com>
- module-setup.sh: Use $dracutsysrootdir
-------------------------------------------------------------------
Fri Nov 24 13:20:31 UTC 2023 - iforster@suse.com

View File

@ -1,7 +1,7 @@
#
# spec file for package ignition
#
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed

View File

@ -4,7 +4,7 @@
check() {
# Omit if building for this already configured system
if [[ $hostonly ]] && [ -e /etc/machine-id ]; then
if [[ $hostonly ]] && [ -e "${dracutsysrootdir}/etc/machine-id" ]; then
return 255
fi
return 0