We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2a12684 commit a57cb14Copy full SHA for a57cb14
build_debian.sh
@@ -263,6 +263,10 @@ sudo mv $FILESYSTEM_ROOT/grub-pc-bin*.deb $FILESYSTEM_ROOT/$PLATFORM_DIR/x86_64-
263
## Disable kexec supported reboot which was installed by default
264
sudo sed -i 's/LOAD_KEXEC=true/LOAD_KEXEC=false/' $FILESYSTEM_ROOT/etc/default/kexec
265
266
+## Modifty ntp default configuration: disable initial jump (add -x), and disable
267
+## jump when time difference is greater than 1000 seconds (remove -g).
268
+sudo sed -i "s/NTPD_OPTS='-g'/NTPD_OPTS='-x'/" $FILESYSTEM_ROOT/etc/default/ntp
269
+
270
## Fix ping tools permission so non root user can directly use them
271
## Note: this is a workaround since aufs doesn't support extended attributes
272
## Ref: https://github.com/moby/moby/issues/5650#issuecomment-303499489
0 commit comments