]> git.ipfire.org Git - ipfire-2.x.git/commitdiff
flash-images: remove unsupported sfdisk switches
authorArne Fitzenreiter <arne_f@ipfire.org>
Thu, 6 Jul 2017 06:32:13 +0000 (08:32 +0200)
committerArne Fitzenreiter <arne_f@ipfire.org>
Thu, 6 Jul 2017 06:32:13 +0000 (08:32 +0200)
New util-linux sfdisk does not have -D and -H / -S
switches.

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
lfs/flash-images

index 3d586c0eae2439ff738eba97da1f01ff4012c3a6..121dc1148b93e45827a09411b857ea72e2944cb0 100644 (file)
@@ -1,7 +1,7 @@
 ###############################################################################
 #                                                                             #
 # IPFire.org - A linux based firewall                                         #
-# Copyright (C) 2007-2016  IPFire Team  <info@ipfire.org>                     #
+# Copyright (C) 2007-2017  IPFire Team  <info@ipfire.org>                     #
 #                                                                             #
 # This program is free software: you can redistribute it and/or modify        #
 # it under the terms of the GNU General Public License as published by        #
@@ -93,7 +93,7 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
 
        # Write Partition table
        echo -e "$(S_OFFSET),$(S_BOOT),$(PART_TYPE),*\n,0,0\n$$(( $(S_BOOT) + $(S_OFFSET) )),$(S_ROOT),L\n" \
-               | sfdisk -D -uS -H 64 -S 32 $(DEVICE)
+               | sfdisk -uS $(DEVICE)
 
        kpartx -v -a $(DEVICE)