stage2: save cpe from /etc/os-release to .disk/cpe
See: https://bugzilla.altlinux.org/46271
This commit is contained in:
parent
c14f11414c
commit
da3e0482e5
10
features.in/stage2/stage1/scripts.d/96-copy-cpe
Executable file
10
features.in/stage2/stage1/scripts.d/96-copy-cpe
Executable file
@ -0,0 +1,10 @@
|
||||
#!/bin/sh -ef
|
||||
|
||||
cd /.image
|
||||
mkdir -p .disk
|
||||
|
||||
. /etc/os-release
|
||||
|
||||
[ -n "${CPE_NAME:-}" ] || exit 1
|
||||
|
||||
echo "${CPE_NAME:-}" > .disk/cpe
|
Loading…
Reference in New Issue
Block a user