www

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README

commit b15dc2d5970bfe6b6a4e2ce2ab1cea08f381e023
parent 51de94c2f3aaa16fe9b58054db0a47b552a05e85
Author: Georges Dupéron <georges.duperon@gmail.com>
Date:   Sun, 15 Jul 2018 03:41:48 +0200

Use gdisk instead of fdisk when printing partition table

Diffstat:
MMakefile | 7++++++-
1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/Makefile b/Makefile @@ -287,7 +287,12 @@ build/os.file: ${os_filename} build/check_makefile file -kr $< > $@ build/os.fdisk: ${os_filename} build/check_makefile - fdisk -l $< > $@ +# gdisk commands: +# * Print partition table +# * Recovery and transformation options +# * print prOtective MBR table +# * Quit + printf 'p\nr\no\nq\n' | gdisk $< > $@ build/os.offsets: ${offset_names:%=build/offsets/%.hex} build/check_makefile grep '^' ${offset_names:%=build/offsets/%.hex} | sed -e 's/:/: 0x/' > $@