Fix ssh permissions and move ssh defaults file
All checks were successful
buildbot/travis_bionic Build done.
buildbot/job/openwrt Build done.

This commit is contained in:
Peter Šurda 2023-02-14 12:08:16 +08:00
parent ba36504d3c
commit cd8043f92b
Signed by: PeterSurda
GPG Key ID: 3E47497CF67ABB95
2 changed files with 3 additions and 1 deletions

View File

@ -51,9 +51,11 @@ echo "CONFIG_TARGET_ROOTFS_EXT4FS=n" >> .config
# Setup files
mkdir -p files/root/.ssh
chmod 0700 files/root files/root/.ssh
cp ${pwd}/authorized_keys files/root/.ssh/
chmod 0400 files/root/.ssh/authorized_keys
mkdir -p files/etc/uci-defaults
cp ${pwd}/uci_defaults files/etc/uci-defaults/99-custom
cp ${pwd}/defaults/* files/etc/uci-defaults
PACKAGES="kmod-nf-nathelper-extra kmod-rtc-ds1307 \
kmod-usb-audio kmod-usb-net-rtl8152 \