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:
14
scripts/raspberrypi-card-write.sh
Executable file
14
scripts/raspberrypi-card-write.sh
Executable 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
|
||||
Reference in New Issue
Block a user