snakeware

Python-based Linux distro for x86-64 and RPi
git clone git://squid-tech.com/snakeware.git
Log | Files | Refs | README

commit 975a9cf7adff502c19ab81ea212dc1a366c7b4e2
parent 53119c82febee669f7225d1d0dfabd56a748e31c
Author: Josh Moore <jxm5210@g.rit.edu>
Date:   Fri, 29 May 2020 23:48:07 -0400

Merge pull request #6 from dargonforce/script-fdisk

Automating image formatting with fdisk
Diffstat:
Msnakeware/img_gen.sh | 12++++++++++--
1 file changed, 10 insertions(+), 2 deletions(-)

diff --git a/snakeware/img_gen.sh b/snakeware/img_gen.sh @@ -14,8 +14,16 @@ MNT=/mnt dd if=/dev/zero of=$SNAKEWARE/$IMG bs=1M count=$IMG_SIZE # create primary DOS partition, make it bootable, write -#\TODO automate this -cfdisk $SNAKEWARE/$IMG +( + echo o + echo n + echo p + echo + echo + echo + echo a + echo w +) | fdisk $SNAKEWARE/$IMG kpartx -a $SNAKEWARE/$IMG