Sertonix
6153f99377
scripts/bootstrap.sh: remove attr from bootstrap packages since abuild doesn't depend on it anymore
2024-10-10 17:24:23 +02: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
0620a000e9
scripts/mkimage.sh: set pipefail for build_profile
...
Make sure that errors in pipes properly propagate.
2024-09-30 08:21:15 +00:00
Sertonix
d15ce2c4fc
scripts/genrootfs.sh: update comment fbe926afc76
2024-09-26 12:34:13 +00:00
Sertonix
67983cffc9
scripts/genrootfs.sh: fix $name never defined
2024-09-26 12:34:13 +00:00
socksinspace
1838b9da1b
scrips/bootstrap.sh: make mkinitfs and openssh optional
...
Disable most optional sections by default.
2024-09-25 06:59:00 +00:00
socksinspace
9423c2a7b0
scripts/bootstrap.sh: move llvm, ghc, rust, and dependencies into optional section
2024-09-25 06:59:00 +00:00
socksinspace
441026dfa9
scripts/bootstrap.sh add new deps for util-linux, adjust llvm versions
2024-09-25 06:59:00 +00:00
Natanael Copa
57ad77e0ba
scripts/genrootfs.sh: fix os-release
...
Include the usr/lib/os-release file in addition to symlink.
Fixes commit a60311be7b59 (main/alpine-base: move os-release to /usr)
2024-09-23 21:06:26 +02:00
Alex
79e42744d9
scripts/bootstrap.sh: remove extra space
2024-09-15 21:46:41 +00: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
Celeste
6cce1d0007
scripts/bootstrap.sh: add libucontext to depends of full cross gcc
...
the GDC frontend requires GDC to build since
GCC 12, and libucontext is required by GDC
2024-08-31 21:41:39 +00:00
Natanael Copa
877e7b1b61
scripts/mkimg.standard.sh: remove riscv64
...
We don't have any riscv64 kernel in main yet.
This fixes the build of release images, which requires that all packages
are in main.
2024-05-22 12:52:50 +02:00
Magnus Sandin
23ff40c30d
scripts/mkimg.xen.sh: add zfs support
2024-05-07 20:04:56 +00:00
Jingyun Hua
85c8ee976c
scripts: add loongarch64
2024-03-19 08:18:50 +00:00
Jingyun Hua
29d1bddf1a
scripts/bootstrap.sh: update package list
2024-03-15 11:43:36 +00:00
Sören Tempel
3e13e2b4b6
Revert "community/go: bootstrap via gccgo"
...
Go 1.22 requires Go 1.20 or newer for bootstrapping. gccgo only
supports Go 1.18, therefore we cannot use it for bootstrapping
Go 1.22 directly and would need to package intermediate versions
of Go. Since our current packaging setup does not easily allow us
to maintain multiple versions of a package, and since it does not
seem likely that gccgo will support newer Go versions in the future,
this does not seam feasible.
Therefore, this commits abandons the much loved gccgo based bootstrap
and switches back to bootstrapping Go manually from an existing Alpine
installation using the bootstrap.sh script.
Fixes #15602
This reverts commit 3516e6e5e78f2734be4f8641ea06a124421e6a25.
2024-02-07 22:29:59 +01:00
Jingyun Hua
a00546be4a
scripts/bootstrap.sh: add libpsl to bootstrap path
2024-02-05 18:07:41 +00:00
Natanael Copa
380c886966
scripts/mkimg.xen.sh: include xen-qemu on the iso
...
ref: https://gitlab.alpinelinux.org/alpine/alpine-conf/-/merge_requests/183#note_370045
2024-01-16 15:57:18 +01:00
Natanael Copa
50a7c81b9b
scripts/mkimg.arm.sh: improve description for Pi images
...
Give better clues which image is for which Pi
fixes https://gitlab.alpinelinux.org/alpine/aports/-/issues/15595
2023-12-27 12:13:40 +00:00
Natanael Copa
e74f5c9847
scripts: add profile for alpine-rpi .img.gz disk images
...
ref: https://gitlab.alpinelinux.org/alpine/infra/alpine-mksite/-/issues/14
ref: https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/52993
2023-12-04 21:01:51 +00:00
Stanislav Kholmanskikh
899e0ad885
scripts/mkimage.sh: add the --repositories-file option
...
It can be handy in situations when we build an image
and specify more than a couple of apk repositories.
Signed-off-by: Stanislav Kholmanskikh <stanislav.kholmanskikh@bell-sw.com>
2023-12-01 09:52:27 +01:00
Natanael Copa
a9cf7bc0a5
scripts/mkimage.sh: minor cleanups
...
- remove needless check
- remove outdated and unused all_arches
- mark --extra-repos as deprecated
2023-12-01 09:40:58 +01:00
Natanael Copa
20337e2064
scripts: only a single kernel flavor for all rpi models.
2023-11-29 20:56:57 +00:00
Jingyun Hua
36fcfd717f
scripts/bootstrap.sh: add libidn2 to bootstrap path
2023-08-22 11:44:11 +00:00
psykose
9faab7c72d
scripts/mkimg.standard.sh: add nftables to extended
...
closes #15136
2023-07-28 21:59:58 +00:00
Hugo Osvaldo Barrera
72ac5a1cdd
scripts/mkimage.sh: bail if --repository is required and not provided
2023-07-27 21:22:03 +00:00
Hugo Osvaldo Barrera
0c09d10a4a
scripts/mkimage.sh: add missing dependency
...
Building images requires mksquashfs. Without it, on x86_64, building an
image fails:
> ./scripts/mkimage.sh --repository https://dl-cdn.alpinelinux.org/alpine/edge/main/
OK: 0 MiB in 0 packages
fetch https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
v3.18.0-6771-g85017885311 [https://dl-cdn.alpinelinux.org/alpine/edge/main/ ]
OK: 5346 distinct packages available
>>> mkimage-x86_64: Building minirootfs
>>> mkimage-x86_64: Creating alpine-minirootfs-230722-x86_64.tar.gz
https://dl-cdn.alpinelinux.org/alpine/edge/main/
fetch https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
(1/15) Installing alpine-baselayout-data (3.4.3-r1)
(2/15) Installing musl (1.2.4-r6)
(3/15) Installing busybox (1.36.1-r3)
(4/15) Installing busybox-binsh (1.36.1-r3)
(5/15) Installing alpine-baselayout (3.4.3-r1)
(6/15) Installing alpine-keys (2.4-r1)
(7/15) Installing ca-certificates-bundle (20230506-r0)
(8/15) Installing libcrypto3 (3.1.1-r3)
(9/15) Installing libssl3 (3.1.1-r3)
(10/15) Installing ssl_client (1.36.1-r3)
(11/15) Installing zlib (1.2.13-r2)
(12/15) Installing apk-tools (2.14.0-r5)
(13/15) Installing scanelf (1.3.7-r2)
(14/15) Installing musl-utils (1.2.4-r6)
(15/15) Installing libc-utils (0.7.2-r5)
OK: 7 MiB in 15 packages
>>> mkimage-x86_64: Building netboot
>>> mkimage-x86_64: --> kernel x86_64 lts 6ef6e06afd948a94231b73e1bc53d1b48e8dd995 linux-lts linux-firmware wireless-regdb
/sbin/update-kernel: line 342: mksquashfs: not found
>>> mkimage-x86_64: --> kernel x86_64 virt 359af7de200e33cd48bfb636e4150bf48f19257f linux-virt linux-firmware wireless-regdb
/sbin/update-kernel: line 342: mksquashfs: not found
2023-07-27 21:22:03 +00:00
psykose
86ea7815b4
scripts/bootstrap.sh: update rust bootstrap positioning
2023-07-11 11:26:00 +00:00
psykose
c43ee4187e
scripts/bootstrap.sh: fixup bootstrap deps
...
- libretls is not used by anything
- isl25 -> isl26
- llvm15 -> llvm16
2023-05-19 03:45:54 +02:00
psykose
1f3e3332a2
scripts/bootstrap.sh: remove pcre from list
...
nothing uses this in the list
2023-05-12 07:32:04 +02: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
a467c8ac68
scripts: remove momodeset
...
Remove nomodeset for all release images for consistency
We have serial console enabled so we don't need to be able to run qemu
with -curses, which needed nomodeset.
2023-05-08 22:57:04 +02:00
Natanael Copa
02c4b280b6
scripts/mkimg.standard.sh: add wifi support to standard
...
Users may need configure network over wifi, so lets include the tools
needed for that in the standard image.
fixes https://gitlab.alpinelinux.org/alpine/alpine-conf/-/issues/10558
2023-05-02 16:40:44 +02:00
Natanael Copa
e91dbacbc6
scripts/mkimg.standard.sh: remove irssi from -extended iso
...
For some reason irssi was moved to community.
commit aeaaa1f3e1f2 (community/irssi: move from main)
Remove it from -extended iso
2023-05-02 16:08:11 +02:00
Natanael Copa
4ad0b08bfa
scripts/mkimg.standard.sh: drop serial for virt
...
We now autodetect serial from initramfs, and it works with qemu's
-serial stdio, so we no longer need to add console=ttyS0 for x86_64.
2023-05-01 22:48:11 +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
5d0a7def23
scripts/mkimg.netboot.sh: add virt and rpi4 for aarch64
...
fixes https://gitlab.alpinelinux.org/alpine/aports/-/issues/14559
fixes https://gitlab.alpinelinux.org/alpine/aports/-/issues/14755
2023-03-29 11:57:41 +02:00
psykose
ef371a18b1
scripts/mkimg.standard.sh: ..actually, remove xz
...
busybox unxz works for decompressing arbitrary xz archives- no need for
the full tool.
saves 0.4MB from the prior change
2023-02-13 15:03:51 +01:00
psykose
98aa1cc27d
scripts/mkimg.standard.sh: ..add missing xz
2023-02-13 15:02:52 +01:00
psykose
b0b993207b
scripts/mkimg.standard.sh: add lz4/xz/zstd to extended
...
requested on irc- this makes decompressing data more convenient
starting only from an extended iso in certain usecases of having
additional images during installation.
increases image size by ~1.7MB
2023-02-13 14:59:42 +01:00
psykose
e27dd18411
scripts/bootstrap.sh: move zstd before toolchain
...
allows zstd use in entire toolchain
2023-01-08 07:47:52 +01:00
Guy Broome
a86c136bc5
scripts/bootstrap.sh: mention that musl also has arch-aware build rules
...
they need updating prior to introducing a new architecture, otherwise
the attempt by bootstrap to pull in musl headers via musl-dev prior
to GCC stage 2 build will fail with a misleading error about a missing
directory
2022-12-29 21:44:53 +01:00
Natanael Copa
34f3e21e01
scripts/mkimg.standard.sh: add kea to extended image
...
kea is supposed to replace dhcpd.
2022-11-22 16:12:02 +01:00
psykose
fffe2c479e
scripts/bootstrap.sh: remove cloog from buildlist
2022-11-22 04:30:35 +01:00
Natanael Copa
70adf95866
scripts/mkimg.base.sh: fix typos
...
fixes commit dc0db48c5a32 (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