File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -172,7 +172,7 @@ ARG fw_version
172172RUN nix build "/src#\" rootfs-$fw_version\" " -o /run/rm-rootfs && \
173173 nix-collect-garbage
174174
175- FROM nix-rootfs AS nix-emu
175+ FROM nix-rootfs AS nix-emu:$fw_version
176176
177177ARG fw_version
178178RUN nix build "/src#\" rm-emu-$fw_version\" " -o /result && \
Original file line number Diff line number Diff line change 103103
104104 ${ lib . optionalString needsPatchDhcpcd "sed -i 's/wlan/eth/' /mnt/root/lib/systemd/system/dhcpcd.service" }
105105
106+ # 3.22 stopped shipping dropbear.socket on all interfaces.
107+ if ! [ -e /mnt/root/lib/systemd/system/dropbear.socket ]; then
108+ cp /mnt/root/lib/systemd/system/dropbear-usb0.socket /mnt/root/lib/systemd/system/dropbear.socket
109+ sed -i 's/.*usb0.*//' /mnt/root/lib/systemd/system/dropbear.socket
110+ ln -s /lib/systemd/system/dropbear.socket /mnt/root/etc/systemd/system/sockets.target.wants/
111+ fi
112+
106113 umount /mnt/root
107114
108115 set +x
You can’t perform that action at this time.
0 commit comments