Update Buildroot to 2019.02.3 (#415)

* Update Buildroot to 2019-02.3

* Fix enter script

* Update ova_defconfig

* Fix network manager

* Remove runc patches

* Use same docker version

* Fix build

* Fix vmtools

* Fix depens

* Fix handling with tempfiles

* Fix permission handling

* Fix cp

* Cleanup

* Fix mounts
This commit is contained in:
Pascal Vizeli
2019-06-27 11:58:50 +02:00
committed by GitHub
parent bb201fb842
commit 41d3f59002
2416 changed files with 36288 additions and 21885 deletions

View File

@@ -0,0 +1,24 @@
#!/bin/sh
mkdir -p /mnt/overlay/etc/
# Network
if [ ! -d /mnt/overlay/etc/NetworkManager/system-connections ]; then
mkdir -p /mnt/overlay/etc/NetworkManager/system-connections
cp -fp /etc/NetworkManager/system-connections/* /mnt/overlay/etc/NetworkManager/system-connections/
chmod 600 /mnt/overlay/etc/NetworkManager/system-connections/*
fi
if [ ! -f /mnt/overlay/etc/hostname ]; then
cp -fp /etc/hostname /mnt/overlay/etc/hostname
fi
if [ ! -f /mnt/overlay/etc/hosts ]; then
cp -fp /etc/hosts /mnt/overlay/etc/hosts
fi
# TimeSync
if [ ! -f /mnt/overlay/etc/systemd/timesyncd.conf ]; then
mkdir -p /mnt/overlay/etc/systemd
cp -fp /etc/systemd/timesyncd.conf /mnt/overlay/etc/systemd/timesyncd.conf
fi