Skip to content

Commit bc09d65

Browse files
committed
Update debian_lepotato to work with network module, use apt_update_skip in module
1 parent 22e6558 commit bc09d65

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/modules/network/start_chroot_script

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,11 @@ if [ "${NETWORK_NETWORK_MANAGER}" == "yes" ]; then
4141
unpack filesystem/network-manager/root / root
4242
unpack filesystem/network-manager/boot /"${BASE_BOOT_MOUNT_PATH}"
4343

44+
if [ "${BASE_BOARD}" == "debian_lepotato" ]; then
45+
apt_update_skip
46+
apt-get install -y network-manager
47+
fi
48+
4449
# mv /"${BASE_BOOT_MOUNT_PATH}"/wifi.nmconnection ${DIST_NETWORK_FILE}
4550

4651
systemctl_if_exists enable copy-network-manager-config@wlan0.service
@@ -56,7 +61,7 @@ if [ ! -f "/etc/rc.local" ];then
5661
fi
5762

5863
# prevent ntp updates from failing due to some Rpi3 weirdness, see also "Fix SSH" further below
59-
apt-get update --allow-releaseinfo-change
64+
apt_update_skip
6065
apt-get install -y iptables
6166
sed -i 's@exit 0@@' /etc/rc.local
6267
echo '/sbin/iptables -t mangle -I POSTROUTING 1 -o wlan0 -p udp --dport 123 -j TOS --set-tos 0x00' >> /etc/rc.local

0 commit comments

Comments
 (0)