Skip to content

Commit

Permalink
Fix NetworkManager crashes on 24.04 (#419)
Browse files Browse the repository at this point in the history
* Fix NetworkManager crashes on 24.04

* rm that
  • Loading branch information
adeebshihadeh authored Dec 16, 2024
1 parent a0a08bf commit 68d829a
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 5 deletions.
1 change: 0 additions & 1 deletion Dockerfile.agnos
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,6 @@ COPY ./userspace/firmware/* /lib/firmware/
# populate /etc
COPY ./userspace/files/fstab /etc
COPY ./userspace/files/profile /etc/profile
COPY --chown=root:root ./userspace/files/01-network-manager-all.yaml /etc/netplan/
COPY ./userspace/files/allow-network-control.pkla /etc/polkit-1/localauthority/50-local.d/allow-network-control.pkla
COPY ./userspace/files/allow-modem-control.pkla /etc/polkit-1/localauthority/50-local.d/allow-modem-control.pkla
COPY ./userspace/files/*.rules /etc/udev/rules.d/
Expand Down
2 changes: 1 addition & 1 deletion agnos-kernel-sdm845
3 changes: 0 additions & 3 deletions userspace/files/01-network-manager-all.yaml

This file was deleted.

2 changes: 2 additions & 0 deletions userspace/readonly_setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ rm /etc/ssh/ssh_host*

rm -rf /etc/NetworkManager/system-connections
ln -s /data/etc/NetworkManager/system-connections /etc/NetworkManager/system-connections
rm -rf /etc/netplan/
ln -s /data/etc/netplan/ /etc/netplan

# setup /usr/default for defaults
mkdir /usr/default/
Expand Down
1 change: 1 addition & 0 deletions userspace/usr/comma/fs_setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ mount -t overlay overlay -o lowerdir=/usr/default/home,upperdir=/tmprw/home_uppe
mkdir -p /data/etc
touch /data/etc/timezone
touch /data/etc/localtime
mkdir -p /data/etc/netplan
mkdir -p /data/etc/NetworkManager/system-connections

# /data/media - NVME mount point
Expand Down

0 comments on commit 68d829a

Please sign in to comment.