#!/bin/sh
dd if=/dev/zero of=/dev/mmcblk2 bs=1M count=256
fdisk --wipe=always --wipe-partition=always /dev/mmcblk2 <<EOF
n
p
1
32768
a
t
83
p
w
EOF
mke2fs -t ext4 -L root0 -O 64bit /dev/mmcblk2p1
The main Radix cross Linux repository contains the build scripts of packages, which have the most complete and common functionality for desktop machines
#!/bin/sh
dd if=/dev/zero of=/dev/mmcblk2 bs=1M count=256
fdisk --wipe=always --wipe-partition=always /dev/mmcblk2 <<EOF
n
p
1
32768
a
t
83
p
w
EOF
mke2fs -t ext4 -L root0 -O 64bit /dev/mmcblk2p1