Add ntpd(8) support.

TODO: /etc/ntpd.conf -> /etc/default/ntpd.conf
This commit is contained in:
Jonas 'Sortie' Termansen 2017-06-18 17:49:39 +02:00
parent b6d3ff36f8
commit 67589d8097
2 changed files with 3 additions and 1 deletions

View File

@ -348,8 +348,10 @@ $(LIVE_INITRD): sysroot
echo require single-user exit-code > $(LIVE_INITRD).d/etc/init/default
echo "root::0:0:root:/root:sh" > $(LIVE_INITRD).d/etc/passwd
echo "www::1:1:www:/var/www:sh" >> $(LIVE_INITRD).d/etc/passwd
echo "_ntp::2:2:_ntp:/var/empty:sh" >> $(LIVE_INITRD).d/etc/passwd
echo "root::0:root" > $(LIVE_INITRD).d/etc/group
echo "www::1:www" >> $(LIVE_INITRD).d/etc/group
echo "_ntp::2:_ntp" >> $(LIVE_INITRD).d/etc/group
mkdir -p $(LIVE_INITRD).d/home
mkdir -p $(LIVE_INITRD).d/root -m 700
cp -RT "$(SYSROOT)/etc/skel" $(LIVE_INITRD).d/root

View File

@ -1,3 +1,3 @@
set_minimal="cut dash e2fsprogs grep grub mdocml sed xargs"
set_basic="$set_minimal binutils bison bzip2 diffutils ed flex gawk gcc git gzip libcurl libcurses libssl libstdc++ nano make patch pkg-config ssh tar vim wget xz xorriso"
set_basic="$set_minimal binutils bison bzip2 diffutils ed flex gawk gcc git gzip libcurl libcurses libssl libstdc++ nano ntpd make patch pkg-config ssh tar vim wget xz xorriso"
sets="basic minimal"