Rewrite of card scripts completely

Reduce the card specific code to what's needed.

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
This commit is contained in:
Andreas Müller
2018-10-02 09:58:24 +02:00
parent 3cc5a3b448
commit ca5f873b08
18 changed files with 773 additions and 541 deletions

View File

@@ -0,0 +1,14 @@
#! /bin/bash
# raspberrypi-card-write.sh
# (c) Copyright 2018 Andreas Müller <schnitzeltony@gmail.com>
# Licensed under terms of GPLv2
#
# This script writes image to sdcard and aligns rootfs partition to max size.
# Includes
. `dirname $0`/include/common-helpers.inc
. `dirname $0`/include/card-helpers.inc
. `dirname $0`/include/machine-raspberrypi.inc
StartCardWrite