From b8e9b846cc0508d32553eb4260874fe21f4e6de3 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Paul=20H=C3=A4nsch?= Date: Sun, 24 Jun 2018 21:41:02 +0200 Subject: [PATCH] scripts for volume setup --- .gitignore | 1 + Makefile | 16 ++++++++++++++++ config_base/etc/hostname | 2 +- config_base/etc/hosts | 5 +++++ partitions | 5 +++++ syslinux.cfg | 6 +++--- 6 files changed, 31 insertions(+), 4 deletions(-) create mode 100644 config_base/etc/hosts create mode 100644 partitions diff --git a/.gitignore b/.gitignore index 82234ff..51b48d0 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ stretch_*_config/ stretch_*_root/ +stretch_*.squashfs diff --git a/Makefile b/Makefile index 2c6c749..5ea6b7c 100644 --- a/Makefile +++ b/Makefile @@ -45,3 +45,19 @@ stretch_%_config/: stretch_%_root/ ${CONFIG} permissions .FORCE stretch_%.squashfs: stretch_%_config/ rm "$@" || true mksquashfs "$<" "$@" -comp xz + +/dev/sd%: partitions vmlinuz initrd.img syslinux.cfg .FORCE + mkdir mount + sfdisk ${@}