Commit Graph

71 Commits

Author SHA1 Message Date
Arne Fitzenreiter
9023689d73 flash-images: fix partition layout on i586
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2018-07-21 16:33:29 +02:00
Arne Fitzenreiter
46a4581db6 flash-image: use FAT for /boot partition on aarch64
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2018-07-20 12:24:49 +01:00
Michael Tremer
a5c92f50bf flash-images: Only install grub for EFI on aarch64
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2018-07-14 13:43:54 +01:00
Michael Tremer
f096a2ea98 flash-image+cdrom: Execute ARMv5-specific code on ARMv5
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2018-07-14 13:43:52 +01:00
Michael Tremer
b89c7379f9 flash-images: Make EFI partition 32MB
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2018-07-14 13:43:52 +01:00
Michael Tremer
89e79c50c7 flash-images: Cleanup partitioning code
No functional changes

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2018-07-14 13:43:52 +01:00
Michael Tremer
8662e98173 flash-images: Mark the /boot partition as bootable
Before, the ESP was marked as bootable which isn't necessary

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2018-07-14 13:43:52 +01:00
Michael Tremer
7d456c3971 flash-image: Use grub-install to install GRUB in EFI mode
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2018-07-14 13:43:51 +01:00
Michael Tremer
2f329aab27 flash-image: Mark the EFI system partition as such
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2018-07-14 13:43:51 +01:00
Michael Tremer
dfb0084e35 flash-image: Remove any other GRUB configuration files in EFI mode
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2018-07-14 13:43:51 +01:00
Michael Tremer
ba3cbb0cfb Adjust variables that have been renamed
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2018-07-14 13:43:50 +01:00
Michael Tremer
7fbbd2aebc Enable EFI on x86_64
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2018-07-14 13:43:49 +01:00
Michael Tremer
784cd5cbd7 Enhance the flash image to support EFI
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2018-07-14 13:43:49 +01:00
Michael Tremer
bd3bcb45d6 AWS: Import aws setup script
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2018-06-25 10:55:39 +01:00
Michael Tremer
1f2a90b552 flash-image: Make sure that GRUB boots the first entry
This is required when importing an image into AWS EC2 or
the import of the image fails.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2018-06-21 16:45:40 +01:00
Arne Fitzenreiter
779706b5f8 flash-image: increase boot partition to match with iso install
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2018-06-06 14:52:55 +02:00
Michael Tremer
a649b64547 flash-image: Install files for armv5tel only on armv5tel
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2018-05-31 12:09:26 +01:00
Michael Tremer
b302b9a695 Compress flash-images as XZ as well
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2018-05-21 20:59:06 +01:00
Arne Fitzenreiter
6b56624445 flash-images: merge normal and scon to one image.
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2018-04-12 16:36:31 +02:00
Arne Fitzenreiter
0a21d63f26 kernel: updated arm config and image build
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2018-03-25 11:41:20 +02:00
Arne Fitzenreiter
ea9d53c822 inittab: change tty1 to console
this reduce the differences between tty and scon installations
and make it easier to switch between.

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2018-03-24 13:26:32 +01:00
Arne Fitzenreiter
02c36af4ba linux-firmare: update to 5d98692
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2017-12-12 09:18:11 +01:00
Michael Tremer
c061d66fca cdrom: Change format to XZ and compress in parallel
This allows us to use all processor cores to compress
the image faster.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2017-10-17 14:58:52 +01:00
Arne Fitzenreiter
025e1fe146 flash-images: remove wrong 2nd partition
the new sfdisk seems not able to skip a partition anymore.

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2017-07-06 18:37:44 +02:00
Arne Fitzenreiter
f3e86ec56b flash-images: remove unsupported sfdisk switches
New util-linux sfdisk does not have -D and -H / -S
switches.

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2017-07-06 08:32:13 +02:00
Michael Tremer
d5f3cc7ff2 flash-image: Increase size of root partition
This should still be small enough to barely fit on a disk that
can hold 1GB of data. The actual one. Not the one that some
vendors put on it.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2017-05-25 20:16:13 +01:00
Michael Tremer
dc7d6b204d make.sh: Cleanup of polluted environment
The build environment is using a number of variables which
occasionally conflicted with some other build systems.

This patch cleans that up by renaming some variables and
later unexporting them in the lfs files.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2017-05-18 12:02:03 +01:00
Alexander Marx
5021ee33de BUG11296: Fix build on EFI systems
fixes: #11296

Signed-off-by: Alexander Marx <alexander.marx@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2017-03-03 10:42:17 +00:00
Arne Fitzenreiter
4f472f86f8 flash-images: copy kernel and initrd first
there is a u-boot bug that not find all files if the directory entries
was splittet to more sectors so copy the important files first.

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2016-03-05 17:07:23 +01:00
Arne Fitzenreiter
efd02229ae flash-images: change root uuid replacer sed
i cannot really test this on my systems.

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2016-02-24 16:01:33 +01:00
Arne Fitzenreiter
920f195095 flash-image: set RAMDISK_MODE=2
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2016-02-23 20:08:25 +01:00
Arne Fitzenreiter
38956241bb flash-image: fix root uuid on some build machines.
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2016-02-23 19:49:49 +01:00
Justin Luth
e0b9a600e1 Allow flash-images to compile on Ubuntu: delay to allow automount/dismount 2015-03-28 12:59:35 +01:00
Arne Fitzenreiter
864a8efff3 flashimages: increase root size.
arm images not fit in 700MB anymore.
2015-01-04 18:42:02 +01:00
Arne Fitzenreiter
15094e71e6 flash-images: u-boot dtb folder work around.
u-boot cannot find folders that are created later...
2014-12-21 12:17:04 +01:00
Arne Fitzenreiter
56e211f66e u-boot: update to 2014.4. and add BPi support. 2014-12-19 07:12:40 +01:00
Arne Fitzenreiter
0565657116 flash-images: use third partition again as root. 2014-11-06 00:06:43 +01:00
Arne Fitzenreiter
9b35b114a0 flash-images: distro image is not compressed on arm. 2014-11-01 17:23:40 +01:00
Michael Tremer
7f6e04258a grub: Don't use VGA for serial installations
On systems without a graphics card, grub did not count down
the timeout.
2014-09-09 15:01:19 +02:00
Michael Tremer
7051d2af61 flash-images: Add an extra 100 MB padding at end of image
This makes it easier to align partitions correctly when the
root partition is grown at the first boot.
2014-08-24 16:11:45 +02:00
Michael Tremer
a24546794d Update auto-resize code to work with any partition number 2014-08-24 13:29:18 +02:00
Michael Tremer
c42cbc86b3 Rewrite flash-image generation for GRUB2. 2014-08-23 16:28:54 +02:00
Arne Fitzenreiter
72cdb51765 flash-image: increase initial size of root partition. 2014-04-30 09:21:31 +02:00
Arne Fitzenreiter
906d293b05 flash-images: work around a pandaboard uboot bug.
uboot does not find the kernel if it was copied to late to the
fat partition.
2014-02-27 12:46:14 +01:00
Stefan Schantl
8a5ef45f15 Rework of flash-images. 2013-12-19 11:14:52 +01:00
Arne Fitzenreiter
7284262a5e kernel: add arm7 multiplatform kernel.
not booting on panda yet.
2013-09-15 18:41:16 +02:00
Arne Fitzenreiter
919eb671a3 flash-images: fix grub path. 2012-11-12 23:40:17 +01:00
Arne Fitzenreiter
e9b5c81522 flash-images: disable fsck timecheck.
Most systems that use the flash image has no rtc so check is better
disabled.
2012-06-26 15:17:44 +02:00
Arne Fitzenreiter
3dcc590eca flash-images: align rootfs to 64MB. 2012-06-16 15:02:56 +02:00
Arne Fitzenreiter
3e011c27dd flashimages: switch to single ext4 (wo journal)
also support video out on pandaboard.
2012-06-10 11:16:57 +02:00