diff options
| author | Alexander Hill <ahill@breadpudding.dev> | 2025-04-23 22:37:32 -0400 |
|---|---|---|
| committer | Alexander Hill <ahill@breadpudding.dev> | 2025-04-23 22:37:32 -0400 |
| commit | 63f60ecda88045bd9710ccb9b7c1009ac08023a8 (patch) | |
| tree | 971b38b3da30700ecf05caaf9768d2f1b46a8d2c | |
| parent | ddd2069627612e45cb6f46c1e3b8d2f167330e40 (diff) | |
Built chrony
| -rwxr-xr-x | build-chroot.sh | 18 | ||||
| -rw-r--r-- | sources.list | 1 |
2 files changed, 19 insertions, 0 deletions
diff --git a/build-chroot.sh b/build-chroot.sh index b4e8fa5..5556751 100755 --- a/build-chroot.sh +++ b/build-chroot.sh @@ -640,6 +640,24 @@ chmod +x /etc/init.d/dhcpcd rc-update add dhcpcd default cd .. +# Chrony Build +tar xf ../sources/chrony-*.tar* +cd chrony-*/ +./configure --exec-prefix=/ --prefix=/usr +make -j $THREADS +make -j $THREADS install +echo "cmdport 0" > /etc/chrony.conf +echo "pool pool.ntp.org iburst maxsources 3" >> /etc/chrony.conf +echo "#!/sbin/openrc-run" > /etc/init.d/chronyd +echo "description=\"Network Time Protocol Daemon\"" >> /etc/init.d/chronyd +echo "command=\"/sbin/chronyd\"" >> /etc/init.d/chronyd +# I guess we should just point OpenRC to the existing PID file unless the daemon +# doesn't make its own? ~ahill +echo "pidfile=\"/run/chrony/chronyd.pid\"" >> /etc/init.d/chronyd +chmod +x /etc/init.d/chronyd +rc-update add chronyd default +cd .. + # Basic Configuration echo "root::0:0::/:/bin/zsh" > /etc/passwd echo "root:x:0:root" > /etc/group diff --git a/sources.list b/sources.list index 78c6789..65666a7 100644 --- a/sources.list +++ b/sources.list @@ -1,6 +1,7 @@ 515430115b3334c636317503460a0950dff79940aa3259ce2c1aa67c2881d023,https://ftp.gnu.org/gnu/bc/bc-1.08.1.tar.xz, 9bba0214ccf7f1079c5d59210045227bcf619519840ebfa80cd3849cff5a5bf2,https://ftp.gnu.org/gnu/bison/bison-3.8.2.tar.xz, ab5a03176ee106d3f0fa90e381da478ddae405918153cca248e682cd0c4a2269,https://sourceware.org/pub/bzip2/bzip2-1.0.8.tar.gz +571ff73fbf0ae3097f0604eca2e00b1d8bb2e91affe1a3494785ff21d6199c5c,https://chrony-project.org/releases/chrony-4.6.1.tar.gz, d630a7e00e63e520b25259f83d425ef783b4661bdc8f47e21c7f23f3780a21e1,https://github.com/Kitware/CMake/releases/download/v4.0.1/cmake-4.0.1.tar.gz, e8bb26ad0293f9b5a1fc43fb42ba970e312c66ce92c1b0b16713d7500db251bf,https://ftp.gnu.org/gnu/coreutils/coreutils-9.7.tar.xz, 937610b97c329a1ec9268553fb780037bcfff0dcffe9725ebc4fd9c1aa9075db,https://ftp.gnu.org/gnu/cpio/cpio-2.15.tar.bz2, |
