scripts/genrootfs.sh: fix os-release package

The /etc/os-release was moved to alpine-release in commit 23e66e85c9
(main/alpine-base: split release data into its own package)
This commit is contained in:
Natanael Copa 2022-11-07 09:04:09 +01:00
parent 5b2a42a72f
commit 704af9b4ba

View file

@ -38,7 +38,7 @@ done
${APK:-apk} fetch --keys-dir "$keys_dir" --no-cache \
--repositories-file "$repositories_file" --root "$tmp" \
--stdout --quiet alpine-base | tar -zx -C "$tmp" etc/
--stdout --quiet alpine-release | tar -zx -C "$tmp" etc/
# make sure root login is disabled
sed -i -e 's/^root::/root:*:/' "$tmp"/etc/shadow