From 67589d80970b1d429175cf5cd3bc2bdc84eb7fba Mon Sep 17 00:00:00 2001 From: Jonas 'Sortie' Termansen Date: Sun, 18 Jun 2017 17:49:39 +0200 Subject: [PATCH] Add ntpd(8) support. TODO: /etc/ntpd.conf -> /etc/default/ntpd.conf --- Makefile | 2 ++ build-aux/ports.conf | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index e39b9a1a..b421ea66 100644 --- a/Makefile +++ b/Makefile @@ -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 diff --git a/build-aux/ports.conf b/build-aux/ports.conf index dba9895e..76a59bd4 100644 --- a/build-aux/ports.conf +++ b/build-aux/ports.conf @@ -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"