Skip to content

Commit

Permalink
scripts/genrootfs.sh: fix os-release package
Browse files Browse the repository at this point in the history
The /etc/os-release was moved to alpine-release in commit 23e66e8
(main/alpine-base: split release data into its own package)
  • Loading branch information
ncopa committed Nov 7, 2022
1 parent 20a38bb commit c810712
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/genrootfs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c810712

Please sign in to comment.