Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions fs/arch/install-to-emmc-middle
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@ set -e
export SYSTEMD=1
export EUDEV=0

# think we need to start the network to do this. Maybe not...
systemctl start NetworkManager.service
systemctl enable NetworkManager.service
sleep 4
# We do not need network stuff here, added to begin script
#systemctl start NetworkManager.service
#systemctl enable NetworkManager.service
#sleep 4

nmcli device wifi rescan
sleep 4 # wait for it to show up
nmtui connect
#nmcli device wifi rescan
#sleep 4 # wait for it to show up
#nmtui connect

wget -N http://os.archlinuxarm.org/os/ArchLinuxARM-aarch64-latest.tar.gz
bsdtar -xpf ArchLinuxARM-aarch64-latest.tar.gz -C /mnt
Expand Down Expand Up @@ -72,4 +72,4 @@ chroot /mnt /usr/bin/pacman -Syu --noconfirm f2fs-tools git base-devel networkma
## end of install-to-emmc-middle
#
#
#
#
10 changes: 6 additions & 4 deletions fs/install-to-emmc-begin
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,13 @@ set -e
echo "Installing Cadmium"

# we need internet, TODO: make this run on voidlinux and arch
#nmcli device wifi rescan
#sleep 4 # wait for it to show up
#nmtui connect
systemctl start NetworkManager
sleep 4 #just in case nm is slow to start
nmcli device wifi rescan
sleep 4 # wait for it to show up
nmtui connect

read -p "Please use Ethernet, idk how the heck to get internet to work LOL"
#read -p "Please use Ethernet, idk how the heck to get internet to work LOL"

# a fancy hack
MMCDEV=$(ls /dev/mmcblk* | grep -F boot0 | sed 's/boot0//')
Expand Down