From 0565657116511f14f0adc29eaad1a3214fc8c9cf Mon Sep 17 00:00:00 2001 From: Arne Fitzenreiter Date: Thu, 6 Nov 2014 00:06:43 +0100 Subject: [PATCH] flash-images: use third partition again as root. --- lfs/flash-images | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lfs/flash-images b/lfs/flash-images index f660d5cee0..d2050b4ab3 100644 --- a/lfs/flash-images +++ b/lfs/flash-images @@ -1,7 +1,7 @@ ############################################################################### # # # IPFire.org - A linux based firewall # -# Copyright (C) 2007-2012 IPFire Team # +# Copyright (C) 2007-2014 IPFire Team # # # # 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 # @@ -31,7 +31,7 @@ TARGET = $(DIR_INFO)/$(THISAPP) DEVICE = $(shell losetup -f) PART_BOOT = /dev/mapper/$(patsubst /dev/%,%,$(DEVICE))p1 -PART_ROOT = /dev/mapper/$(patsubst /dev/%,%,$(DEVICE))p2 +PART_ROOT = /dev/mapper/$(patsubst /dev/%,%,$(DEVICE))p3 ifeq "$(SCON)" "1" IMAGE_FILE = /install/images/$(SNAME)-$(VERSION).1gb-ext4-scon.$(MACHINE)-full-core$(CORE).img.gz @@ -92,7 +92,7 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) losetup $(DEVICE) $(IMG) # Write Partition table - echo -e "$(S_OFFSET),$(S_BOOT),$(PART_TYPE),*\n$$(( $(S_BOOT) + $(S_OFFSET) )),$(S_ROOT),L\n" \ + 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) kpartx -v -a $(DEVICE) -- 2.39.2