1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-15 04:05:15 +03:00
Commit graph

61 commits

Author SHA1 Message Date
Sertonix
9b6b83166b scripts/mkimg.*.sh: remove executable bit
They are can only be sourced by other scripts.
2025-05-13 11:10:00 +00:00
Natanael Copa
d5349b1800 scripts/mkimg.base.sh: fix volid in grub_gen_earlyconf
Generate the volume id from a function and use this everywhere.

fixes commit a486316db8 (scripts/mkimg.base.sh: truncate long volid)
2024-12-03 10:02:05 +00:00
Natanael Copa
5fb72a8cbd scripts/mkimg.arm.sh: include phy drivers
fixes: https://gitlab.alpinelinux.org/alpine/aports/-/issues/16366
ref: https://gitlab.alpinelinux.org/alpine/mkinitfs/-/issues/76
2024-12-02 17:39:04 +01:00
Natanael Copa
a486316db8 scripts/mkimg.base.sh: truncate long volid
volid can not be longer than 32 chars, and we hit this limit with _rc1
loongach64. Solve this by drop the _rc* suffix and add a safe guard that
truncates the volid if it ever trips over.

ref: https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/76266
2024-12-02 11:15:39 +01:00
Natanael Copa
6ef9f2720a scripts/mkimg.base.sh: add apk-cron to base
Nice to have the option to do unattended security updates out of the
box.
2024-09-30 14:08:26 +02:00
Sertonix
619b636a4e scripts/mkimage.sh: simplify for loops 2024-09-06 12:19:56 +00:00
Sertonix
5147450891 scripts/mkimage.sh: fix cross creating 2024-09-06 12:19:56 +00:00
Jingyun Hua
85c8ee976c scripts: add loongarch64 2024-03-19 08:18:50 +00:00
Natanael Copa
2894793aa2 main/mkinitfs: use tiny-cloud-alpine instead of nocloud
ref https://gitlab.alpinelinux.org/alpine/cloud/tiny-cloud/-/merge_requests/54#note_305672
2023-05-08 22:57:23 +02:00
Natanael Copa
01a905daf3 scripts/mkimg.base.sh: include tiny-cloud-nocoud in base 2023-05-01 22:20:45 +02:00
Natanael Copa
7a17a2b779 scripts/mkimg.base.sh: add nfit module
Needed for UEFI http boot
ref https://gitlab.alpinelinux.org/alpine/aports/-/issues/13823
2023-05-01 21:01:41 +02:00
Dermot Bradley
38302601c8 scripts/mkimg.base.sh: remove haveged package
With changes to the "random" code in recent kernels there seems little
need for haveged in general. This script adds the haveged package to
Alpine images but its init.d script never appears to be enabled
anywhere (neither in the image nor by setup-alpine) and so the
package's presence in the image appears unnecessary.
2023-04-29 02:05:57 +00:00
Natanael Copa
70adf95866 scripts/mkimg.base.sh: fix typos
fixes commit dc0db48c5a (scripts/mkimg.base.sh: include doas in base)
2022-11-18 22:58:50 +01:00
Natanael Copa
dc0db48c5a scripts/mkimg.base.sh: include doas in base
Without doas (due to missing or broken apk cache) you may have serious
problems. Included it in the isos.
2022-11-18 15:12:48 +01:00
Natanael Copa
07f62dc81a scripts/mkimg.base.sh: abort on update-kernel failure 2022-07-13 11:40:53 +02:00
Natanael Copa
bf4ec46943 scripts/mkimg.base.sh: reduce boot menu timeout to 1 sec
To speed up the boot a bit.
2022-05-23 14:48:27 +02:00
Natanael Copa
960b71b825 scripts/mkimg.{arm,base}: enable nvme by default
nvme is common nowadays so enable it by default
ref https://gitlab.alpinelinux.org/alpine/aports/-/issues/11589
2022-05-02 11:04:26 +02:00
Michał Adamski
72dacf5fa2 scripts/mkimg.base.sh: reproducible efi.img 2022-04-28 09:12:38 +00:00
Alex Xu (Hello71)
c9a8a1897a scripts/mkimg.base.sh: add openntpd to base
fixes #10080
2021-11-16 17:12:31 +00:00
Drew DeVault
569ab4c43c scripts: add riscv64 standard flavor
This adds the necessary riggings to generate a standard Alpine image,
bootable via UEFI on the HiFive Unmatched (with some u-boot tweaks).
2021-09-19 15:39:55 +00:00
kpcyrd
6f6796740c Use SOURCE_DATE_EPOCH for raspi images
See https://twitter.com/sn0int/status/1408853982643212298
2021-08-19 21:47:35 +00:00
Natanael Copa
21b5a76f02 scripts/mkimg.base.sh: fix typo
fixes commit 2b4acd5f66 (scripts/mkimg.base.sh: include gnu wget)
2021-08-05 15:01:41 +00:00
Natanael Copa
2b4acd5f66 scripts/mkimg.base.sh: include gnu wget
busybox wget does not support https over proxy
https://gitlab.alpinelinux.org/alpine/aports/-/issues/12517
2021-08-05 14:24:47 +00:00
Natanael Copa
c8a5f008e0 scripts/mkimg.base.sh: add dhcpcd to base
needed for ipv6-only installs

fixes #10237
2021-07-09 11:52:11 +00:00
Thomas Liske
59a4f9a6cd scripts/mkimage: add support for CPU ucode updates using early initrd 2020-12-21 10:16:06 +00:00
Natanael Copa
8425e2bd7e scripts/mkimg.base.sh: remove unused alpine-mirrors 2020-07-23 10:26:34 +00:00
Milan P. Stanić
39c54bc7dd scripts/mkimg.base.sh: change to dtbs-$flavor dir name
with change to linux-lts as current default kernel dir for dtbs
is changed to /boot/dtbs-$_f and this commit change it to new one

DEVICETREEDIR in extlinux.conf for u-boot is changed to FDTDIR to
follow documentation in u-boot (upstream)
2019-12-16 17:21:45 +00:00
Natanael Copa
3d0ea5e471 scripts/mkimg.base.sh: use linux-lts by default 2019-12-06 17:14:03 +00:00
Henrik Riomar
9f3a46d8c6 scripts/mkimg.base.sh: add haveged 2019-06-05 16:13:17 +00:00
Natanael Copa
da6b6ebd06 scripts/mkimg.base.sh: replace libressl with openssl
ref #10042
2019-03-04 14:30:34 +00:00
Natanael Copa
dd59175033 scripts: generate grub efi for arm except rpi
add all_video
2019-02-26 16:56:06 +00:00
Timo Teräs
e48587de66 scripts/mkimg.base.sh: include wifi regulatory database in modloop
ref #9549
2019-02-15 14:42:34 +02:00
Carlo Landmeter
680b40d3d2 scripts: add modloopfw support
this is needed for firware which is not automatically detected.
2019-02-15 10:33:47 +00:00
Carlo Landmeter
392aa6fce2 scripts: add modloop signing support 2019-01-27 12:18:01 +00:00
Louis
6755c1ab2f scripts/mkimg.base.sh: Fix label to search (grub)
Alpine ISO are labelled with ${profile_abbrev:-$PROFILE} but grub was only
searching for $PROFILE when booting and failed to its rescue shell.
2018-10-04 06:16:09 +00:00
Tuan M. Hoang
7503de19f0 scripts/mkimg, main/s390-tools: create bootable 'standard' iso for s390x 2018-06-19 07:08:42 +00:00
Natanael Copa
e2dd173bdf scripts/mkimg: remove ext2 and ext3 features
ext4 module can handle it.
2018-06-12 09:00:39 +00:00
William Johansson
10799b57c4 scripts: Fix kernel name in Xen BIOS boot
Apply missing changes from f92a41f732

Also remove unused variable
2018-06-11 20:57:41 +00:00
Natanael Copa
79f7712607 scripts/mkimg: shorten volume id of iso image
The volume id cannot be longer than 32 bytes so we need to shorten it a
bit
2018-06-11 18:49:42 +00:00
William Johansson
297e17a37e scripts/mkimg: boot Xen via multiboot with Grub
If Xen is present and Grub is used, like on UEFI systems, use multiboot2
to load Xen and the dom0 linux kernel.

Enable grub modules:
 * part_gpt: to read files from GPT partitions
 * multiboot2: to load multiboot2 kernels, like Xen
 * gzio: to load Xen which is gzip compressed
2018-05-16 19:48:46 +02:00
William Johansson
7030ebdd4f scripts/mkimg: use -rational-rock to avoid uid pollution
ISO image should have files owned by root, not leaking the builder uid.
2018-04-17 21:09:25 +00:00
Natanael Copa
71a193e96f scripts/mkimg: remove -hardened kernel and vanilla iso
standard iso is now vanilla kernel so it does not make any sense to have
a separata vanilla iso.

Also update xen to use vanilla kernel instead of hardened
2018-03-05 11:41:56 +00:00
Natanael Copa
f92a41f732 scripts: fix -vanilla suffix in bootloaders configs
since commit 697e30450e the vanilla kernel
has a flavor suffix on vmlinuz. Adjust the boot loader configs
accordingly.
2018-01-19 02:04:52 +00:00
Natanael Copa
4befd4e51d scripts/mkimg.base: add explicit dependency for busybox
we need add a dependency that provides /bin/sh
2017-11-20 15:33:01 +00:00
Timo Teräs
565c1cb7cc scripts/mkimage: enable building of efi iso images by default 2017-10-19 16:50:41 +03:00
Timo Teräs
fd978b70d6 scripts/mkimg.base: add efi formats and filenames for arm and x86 2017-10-18 11:03:01 +00:00
Timo Teräs
acd1cd8f21 scripts/mkimg.base: add efi loaders to the iso image
Strictly the 'efi' folder is not needed since it's in the efi.img.
However, converting .iso to USB stick is a lot simpler when the
EFI folder is in the .iso too. This allows just copying .iso contents
to the USB stick and EFI boot will work. While Rufus supports
extracting the boot files from efi.img, it was considered more
portable to add the copy. This also simplifies updating setup-bootable
to prepare EFI bootable disks.
2017-10-18 11:03:01 +00:00
Timo Teräs
a1416cdb96 scripts/mkimg.base: improve .iso efi support
- use efi.img as the image name (Rufus recognizes it)
- drop need for dosfstools, use mformat from mtools instead
2017-10-18 07:25:46 +00:00
Natanael Copa
aefed4153f scripts/mkimg.base: set sysid on the iso images
Most other distros seems to do this
2017-06-13 19:35:36 +02:00
Natanael Copa
461153cb3f scripts/mkimg.base: set vol id for ppc64le iso 2017-05-22 16:20:11 +00:00