Install the ntp package

This commit is contained in:
Cosmin Gorgovan 2017-03-25 20:30:57 +00:00
parent b8fcc58715
commit 34d9195eba

View File

@ -108,12 +108,15 @@ clean_up_rootfs() {
rm -R ./rootfs/usr/share/doc/* rm -R ./rootfs/usr/share/doc/*
rm -R ./rootfs/var/log/* rm -R ./rootfs/var/log/*
# Disable the NTP daemon
chroot rootfs/ bash -c "update-rc.d ntp disable"
echo "Cleanup done." echo "Cleanup done."
} }
build_rootfs() { build_rootfs() {
debootstrap --arch=armhf --variant=minbase \ debootstrap --arch=armhf --variant=minbase \
--include=net-tools,wireless-tools,wpasupplicant,kmod,udev,openssh-server,iputils-ping,ifupdown,vim-tiny,dhcpcd \ --include=net-tools,wireless-tools,wpasupplicant,kmod,udev,openssh-server,iputils-ping,ifupdown,vim-tiny,dhcpcd,ntp \
wheezy ./rootfs http://http.debian.net/debian/ wheezy ./rootfs http://http.debian.net/debian/
if [ $? -ne 0 ] ; then if [ $? -ne 0 ] ; then