mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-19 19:40:37 +02:00
remove os-release from cpio.sh
This commit is contained in:
parent
86f0045f48
commit
54b39c89da
2 changed files with 2 additions and 12 deletions
|
@ -355,16 +355,6 @@ initialize_buildroot() {
|
||||||
# mount tables
|
# mount tables
|
||||||
ln -s ../proc/self/mounts "$buildroot/etc/mtab"
|
ln -s ../proc/self/mounts "$buildroot/etc/mtab"
|
||||||
: >"$buildroot/etc/fstab"
|
: >"$buildroot/etc/fstab"
|
||||||
# add os-release for systemd
|
|
||||||
if [[ -e /etc/os-release ]]; then
|
|
||||||
if [[ -L /etc/os-release ]]; then
|
|
||||||
osreleasefile="$(realpath -- /etc/os-release)"
|
|
||||||
install -Dm0644 "$osreleasefile" "${buildroot}${osreleasefile}"
|
|
||||||
cp -adT /etc/os-release "${buildroot}/etc/os-release"
|
|
||||||
else
|
|
||||||
install -Dm0644 /etc/os-release "${buildroot}/etc/os-release"
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
# add a blank ld.so.conf to keep ldconfig happy
|
# add a blank ld.so.conf to keep ldconfig happy
|
||||||
: >"$buildroot/etc/ld.so.conf"
|
: >"$buildroot/etc/ld.so.conf"
|
||||||
printf '%s' "$workdir"
|
printf '%s' "$workdir"
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
NAME="Archboot - Arch Linux"
|
NAME="Archboot"
|
||||||
PRETTY_NAME="Archboot - Arch Linux"
|
PRETTY_NAME="Archboot"
|
||||||
ID=arch
|
ID=arch
|
||||||
BUILD_ID=rolling
|
BUILD_ID=rolling
|
||||||
ANSI_COLOR="38;2;23;147;209"
|
ANSI_COLOR="38;2;23;147;209"
|
||||||
|
|
Loading…
Reference in a new issue