Merge "Add ntpdate/ntpclient/chrony"
This commit is contained in:
commit
dbfbe1f451
@ -20,6 +20,7 @@ dosfstools:
|
|||||||
mdadm:
|
mdadm:
|
||||||
efibootmgr:
|
efibootmgr:
|
||||||
efivar:
|
efivar:
|
||||||
|
chrony:
|
||||||
|
|
||||||
# Unnecessary packages to remove. We run all removals in pre-install phase, to
|
# Unnecessary packages to remove. We run all removals in pre-install phase, to
|
||||||
# avoid breaking installs that happen in install phase.
|
# avoid breaking installs that happen in install phase.
|
||||||
|
7
releasenotes/notes/add-ntpdate-3db2f8565fed761e.yaml
Normal file
7
releasenotes/notes/add-ntpdate-3db2f8565fed761e.yaml
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
---
|
||||||
|
features:
|
||||||
|
- |
|
||||||
|
Adds packages required for ``ironic-python-agent`` to
|
||||||
|
synchronize the system clock, namely ntpdate. The other
|
||||||
|
dependency of the agent requires is ``hwclock``, however
|
||||||
|
that package is provided by util-linux.
|
@ -154,6 +154,8 @@ $CHROOT_CMD chmod a+rwx /etc/sysconfig/tcuser
|
|||||||
mkdir $BUILDDIR/tmp/overides
|
mkdir $BUILDDIR/tmp/overides
|
||||||
cp $WORKDIR/build_files/fakeuname $BUILDDIR/tmp/overides/uname
|
cp $WORKDIR/build_files/fakeuname $BUILDDIR/tmp/overides/uname
|
||||||
|
|
||||||
|
sudo cp $WORKDIR/build_files/ntpdate $BUILDDIR/bin/ntpdate
|
||||||
|
|
||||||
PY_REQS="buildreqs_python2.lst"
|
PY_REQS="buildreqs_python2.lst"
|
||||||
if [[ $USE_PYTHON3 == "True" ]]; then
|
if [[ $USE_PYTHON3 == "True" ]]; then
|
||||||
PY_REQS="buildreqs_python3.lst"
|
PY_REQS="buildreqs_python3.lst"
|
||||||
|
@ -21,3 +21,4 @@ filesystems-4.19.10-tinycore64.tcz
|
|||||||
smartmontools.tcz
|
smartmontools.tcz
|
||||||
udev-lib.tcz
|
udev-lib.tcz
|
||||||
util-linux.tcz
|
util-linux.tcz
|
||||||
|
ntpclient.tcz
|
||||||
|
6
tinyipa/build_files/ntpdate
Executable file
6
tinyipa/build_files/ntpdate
Executable file
@ -0,0 +1,6 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
if [ "$1" = "-v" ]; then
|
||||||
|
echo "Magical ntpdate Wrapper 0.0.1"
|
||||||
|
exit 0
|
||||||
|
fi
|
||||||
|
ntpclient -h $1 -s
|
@ -92,6 +92,8 @@ fi
|
|||||||
mkdir $FINALDIR/tmp/overides
|
mkdir $FINALDIR/tmp/overides
|
||||||
cp $WORKDIR/build_files/fakeuname $FINALDIR/tmp/overides/uname
|
cp $WORKDIR/build_files/fakeuname $FINALDIR/tmp/overides/uname
|
||||||
|
|
||||||
|
sudo cp $WORKDIR/build_files/ntpdate $FINALDIR/bin/ntpdate
|
||||||
|
sudo chmod 755 $FINALDIR/bin/ntpdate
|
||||||
PY_REQS="finalreqs_python2.lst"
|
PY_REQS="finalreqs_python2.lst"
|
||||||
if [[ $USE_PYTHON3 == "True" ]]; then
|
if [[ $USE_PYTHON3 == "True" ]]; then
|
||||||
PY_REQS="finalreqs_python3.lst"
|
PY_REQS="finalreqs_python3.lst"
|
||||||
|
Loading…
Reference in New Issue
Block a user