Add ntpd(8) support.
TODO: /etc/ntpd.conf -> /etc/default/ntpd.conf
This commit is contained in:
parent
b6d3ff36f8
commit
67589d8097
2
Makefile
2
Makefile
|
@ -348,8 +348,10 @@ $(LIVE_INITRD): sysroot
|
||||||
echo require single-user exit-code > $(LIVE_INITRD).d/etc/init/default
|
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 "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 "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 "root::0:root" > $(LIVE_INITRD).d/etc/group
|
||||||
echo "www::1:www" >> $(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/home
|
||||||
mkdir -p $(LIVE_INITRD).d/root -m 700
|
mkdir -p $(LIVE_INITRD).d/root -m 700
|
||||||
cp -RT "$(SYSROOT)/etc/skel" $(LIVE_INITRD).d/root
|
cp -RT "$(SYSROOT)/etc/skel" $(LIVE_INITRD).d/root
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
set_minimal="cut dash e2fsprogs grep grub mdocml sed xargs"
|
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"
|
sets="basic minimal"
|
||||||
|
|
Loading…
Reference in New Issue