Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
executable file 17 lines (10 sloc) 272 Bytes
#!/bin/bash
cur=$(pwd)
sudo losetup /dev/loop0 archlinux-latest/armbox.img
sudo mount -t ext4 /dev/loop0p1 /mnt
cd /mnt
cp boot/zImage ${cur}/archlinux-latest/
cp boot/initramfs-linux.img ${cur}/archlinux-latest
cd ${cur}
sudo losetup -d /dev/loop0
sudo umount /mnt