1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-12 18:59:50 +03:00
Commit graph

287 commits

Author SHA1 Message Date
Sertonix
c5f5edc96c scripts/mkimage.sh: mention grub dependency for efi images 2025-07-11 14:11:27 +00:00
J. Neuschäfer
359c4f0584 scripts: enable minirootfs generation on any arch
The minirootfs profile doesn't contain anything hardware-specific, so it
should always be allowed.
2025-07-03 10:56:46 +00:00
Sertonix
6a6fa6a0d8 scripts/bootstrap.sh: update comment about new arch in apk-tools 2025-07-01 12:23:52 +00:00
Sertonix
e34ced6229 scripts/mkimage.sh: set --no-chown for apk 2025-06-09 08:53:11 +00:00
Sertonix
366fd42f9b scripts/genrootfs.sh: exclude apk3 logfile 2025-06-09 08:53:11 +00:00
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
Sertonix
5a92c2629a scripts/mkimage.sh: honor ABUILD_SHAREDIR 2025-05-13 11:10:00 +00:00
Sertonix
3fa317c213 scripts/mkimage.sh: remove useless APORTS check 2025-05-13 11:10:00 +00:00
fossdd
dd550ee96f scripts/bootstrap.sh: update llvm version for rust
rust switched to LLVM 20 in the previous commit
2025-04-20 03:57:08 +00:00
fossdd
f7e014db0b scripts/bootstrap.sh: build readline for sqlite
readline got added to the host dependencies in e95458a620
2025-04-08 07:31:57 +00:00
Sertonix
684b78c9e6 scripts/genrootfs.sh: fix gid of /etc/shadow
Fixes https://gitlab.alpinelinux.org/alpine/aports/-/issues/16822
2025-02-10 23:13:57 +00:00
Sertonix
99fa2876f4 scripts/bootstrap.sh: remove unused dependencies
Ref 7befdd7374 main/openssh: refactor PAM support, add krb5
2025-01-29 14:55:57 +00:00
Natanael Copa
812f5b1f70 scripts/bootstrap.sh: add -k option for abuild
pass -k option so we can make the script skip already built packages.
2024-12-31 16:51:57 +01:00
Natanael Copa
b372c5b2b7 scripts/mkimg.uboot.sh: enable riscv64 uboot tarball
Disable the apkovl. Better use tiny-cloud to set up network.
2024-12-26 21:05:11 +00:00
Natanael Copa
8ebe0876ec scripts: move uboot image to separate file 2024-12-26 21:05:11 +00:00
Natanael Copa
b262bdb6d5 scripts/bootstrap.sh: allow override the packages to build
Add support for setting the list of packages to build as argument.
Useful for building a crosscompiler and then build kernel package for
example.
2024-12-26 20:49:33 +01:00
Sertonix
e597a92339 scripts/bootstrap.sh: fix bootstrap dependencies 2024-12-26 13:56:20 +01:00
Sertonix
d5e5c01050 scripts/bootstrap.sh: respect ABUILD_SHAREDIR 2024-12-26 13:55:50 +01:00
Natanael Copa
870e003198 scripts/mkimg.standard.sh: remove dhcp and dhcrelay
fixes commit 785e5584c4 (main/dhcp: remove, unmaintained upstream)
2024-12-04 21:28:56 +01: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
b72a9f5d5b scripts/mkimage-yaml.sh: only create extracted_size for img.gz
Don't bother ship tarballs without the .gz.
2024-11-29 21:59:58 +01:00
Natanael Copa
18af973f38 scripts/mkimage-yaml.sh: set extracted size and checksum
For rpi-imager

https://gitlab.alpinelinux.org/alpine/infra/alpine-mksite/-/issues/23#note_458784
2024-11-29 21:49:48 +01:00
Sertonix
d43610d7d8 scripts/mkimage.sh: remove special handling of alpine-release for minirootfs
The special handling was needed when the alpine-base package included release
and other data. This was changed[0] and now the complete alpine-release package
is included in the minirootfs[1]. This change removed the reason the special
handling was added in the first place so we can remove it completely.

Fixes #16553

[0]: 23e66e85c9
[1]: 704af9b4ba
2024-10-22 20:48:32 +00:00
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 fbe926afc7 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 a60311be7b (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 3516e6e5e7.
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