forked from pool/ignition
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:
parent
6d7af7128e
commit
aca8707f84
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user