From 163994fc932521e88d5fcfda34ec263dc1664754 Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Mon, 13 Oct 2014 08:47:14 -0400 Subject: profile/proteanos: Write /etc/group Two of libarchive's unit tests fail without this file. --- diff --git a/lib/profile/proteanos.sh b/lib/profile/proteanos.sh index ee3627d..df583ef 100644 --- a/lib/profile/proteanos.sh +++ b/lib/profile/proteanos.sh @@ -223,6 +223,8 @@ prof_proteanos_configure_system_native() [ -r /etc/hostname ] && cp /etc/hostname "${root}/etc" [ -e "${root}/etc/passwd" ] || printf \ 'root::0:0:root:/root:/bin/sh\n' >"${root}/etc/passwd" + [ -e "${root}/etc/group" ] || printf \ + 'root:x:0:\n' >"${root}/etc/group" } prof_proteanos_configure_system_foreign() @@ -234,4 +236,6 @@ prof_proteanos_configure_system_foreign() printf 'proteanos\n' >"${root}/etc/hostname" [ -e "${root}/etc/passwd" ] || printf \ 'root::0:0:root:/root:/bin/sh\n' >"${root}/etc/passwd" + [ -e "${root}/etc/group" ] || printf \ + 'root:x:0:\n' >"${root}/etc/group" } -- cgit v0.9.1