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

221 commits

Author SHA1 Message Date
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 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
psykose
82a5d47920 scripts/mkimg.arm.sh: remove linux-firmware-brcm from rpi
was already pulled in via linux-rpi
2022-11-08 17:49:28 +01:00
Natanael Copa
704af9b4ba scripts/genrootfs.sh: fix os-release package
The /etc/os-release was moved to alpine-release in commit 23e66e85c9
(main/alpine-base: split release data into its own package)
2022-11-07 09:07:06 +01:00
psykose
5d4369a948
scripts/bootstrap.sh: add llvm15 2022-09-30 14:40:54 +02:00
Sören Tempel
3516e6e5e7 community/go: bootstrap via gccgo
Previously, community/go depended on itself for compiler-bootstrapping
purposes. This approach has several issue which are were further
discussed on the ML some time ago [1]. By bootstrapping community/go
using gcc-go we can make the bootstrap path more transparent and also
ease bootstrapping new builder via bootstrap.sh as community/go no
longer needs to be cross-compiled from an existing Go installation.

As such, this commit also removes community/go from the bootstrap.sh.
There is nothing on the bootstrap path that depends on it, hence it
is fine that a bootstrapped/cross-compiled gcc doesn't have LANG_GO
support. Go was only added to bootstrap.sh previously in commit
f5c4b29891 due to the cross-compilation
requirement. This commit also removes the cross-compilation related
quirks from the Go APKBUILD.

I will further enhance the Go bootstrap setup by having both
community/go and gcc-go provide a virtual go-bootstrap package. Thereby
allowing compilation with either gcc-go or a prior community/go
installation.

[1]: https://lists.alpinelinux.org/~alpine/devel/%3C33KG0XO61I4IL.2Z7RTAZ5J3SY6%408pit.net%3E
2022-09-30 12:16:40 +00:00
Natanael Copa
13d2eb011b scripts/bootstrap.sh: use isl25
ref commit 1b3d450dc7 (main/gcc: build against isl25)
ref commit a782574540 (main/isl25: new aport)
ref commit 069b35f981 (main/isl24: remove -dev)
2022-09-23 18:33:23 +02:00
psykose
4af430da17
scripts/bootstrap.sh: fix busybox-openrc dep
merged into busybox
2022-09-10 04:20:51 +02:00
Laurent Bercot
7f91082084 scripts/bootstrap.sh: update package list with busybox-openrc
Signed-off-by: Laurent Bercot <ska@appnovation.com>
2022-09-04 05:49:07 +00:00
Stanislav Kholmanskikh
baf412d158 scripts/mkimage.sh: cleanup the workdir created with mktemp
Signed-off-by: Stanislav Kholmanskikh <stanislav.kholmanskikh@bell-sw.com>
2022-08-31 14:13:12 +00:00
Stanislav Kholmanskikh
33cba646e8 scripts/mkimage.sh: switch from abuild-apk to apk
The issue is that 'abuild-apk' creates root-owned files in the workdir,
and they cannot be removed later without root privileges.

'abuild-apk' is called only with 2 commands (add --initdb, update),
and in the context of the script they don't seem to be requiring
root privileges, so I'm proposing to substitute the calls with 'apk'.
This will automatically resolve the issue mentioned above.

Signed-off-by: Stanislav Kholmanskikh <stanislav.kholmanskikh@bell-sw.com>
2022-08-31 14:13:12 +00:00
psykose
2ad9d07894
scripts/bootstrap.sh: move ghc after llvm14 2022-08-20 09:24:29 +02:00
psykose
106fdd11ff
scripts/mkimg.arm.sh: add linux-firmware-brcm for rpi
see #13302
2022-08-13 16:07:34 +02:00
psykose
8e693a596c scripts/bootstrap.sh: update isl22 to isl24 2022-07-28 22:31:46 +00:00
ptrcnull
8c41723185 scripts/bootstrap.sh: print usage on missing params before trying to use them
fixes #10607
2022-07-26 23:36:41 +02:00
Natanael Copa
2a57681043 scripts/mkimage.sh: fix yaml on re-run
create yaml even if file already exists. This solves the problem of yaml
entry disapearing from latest-release.yaml on a re-run. the yaml is
recreated so we need to recreate every yaml, not only for the images
that are rebuilt.
2022-07-15 09:11:23 +00:00
psykose
ed6740b82f scripts/bootstrap.sh: update llvm to 14, remove unused deps
libgit2 is not used by rust anymore, and so it and its dependency of
http-parser are not needed in the bootstrap path
2022-07-13 19:38:51 +00:00
psykose
c570db333d scripts/mkimg.standard.sh: add iw to extended
for https://gitlab.alpinelinux.org/alpine/alpine-conf/-/issues/10518
2022-07-13 19:35:14 +00:00
Natanael Copa
07f62dc81a scripts/mkimg.base.sh: abort on update-kernel failure 2022-07-13 11:40:53 +02:00
psykose
f0c20903b1 scripts/bootstrap.sh: move libcap to before openrc
now needed by openrc
2022-07-06 11:32:50 +00:00
Henrik Riomar
41065fd278 scripts/mkimg.standard.sh: add linux-firmware-none to the extended iso
Fixes installation without network, if this pkg is not on the iso:

Installing system on /dev/xvda1:
extlinux: Not a directory: /mnt/boot
ERROR: unable to select packages:
  linux-firmware-none (no such package):
    required by: world[linux-firmware-none]
2022-07-06 07:53:17 +00:00
Alex Xu (Hello71)
fbe926afc7 scripts/genrootfs.sh: locked -> invalid password (fixes #10806)
this still forbids password login but allows logins via ssh keys with
pam disabled.
2022-05-23 13:44:52 +00: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
Natanael Copa
f81ba92e56 scripts/mkimg.standard.sh: use ttyAMA0 for arm* 2022-04-14 18:10:51 +02:00
Natanael Copa
7b3cb69125 scripts/mkimg.standard.sh: add armv7
Create standard release images for armv7. Those are useful for qemu.
2022-04-14 18:10:51 +02:00
Joonas Kuorilehto
1ac9cc261e scripts/mkimg.arm.sh: add support for Raspberry Zero 2 W
https://www.raspberrypi.com/documentation/computers/config_txt.html#model-filters
2022-04-01 23:15:18 +00:00
J0WI
88110a6dc1 scripts/bootstrap.sh: switch to llvm13 2022-03-30 16:23:03 +00:00
ptrcnull
b3c5504c72 scripts/mkimg.standard.sh: remove duplicate doas 2022-02-14 13:00:39 +00:00
J0WI
2233d31ba6 scripts/bootstrap.sh: switch to llvm12 2022-02-11 22:29:15 +00:00
Natanael Copa
9a78244068 main/raspberrypi-bootloader: split common bootcode.bin
Move common bootcode.bin to a separate subpackage and make it a
dependency for the packages that needs it.

Also adjust the script that generates the release tarball.

Fixes https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/15723
2022-01-18 15:08:01 +00:00
Ariadne Conill
a53fffd308 bootstrap: remove openssl1.1-compat 2022-01-15 18:50:06 +00:00
Nick Hanley
75b67ff7c6 scripts/mkimg.arm.sh: update rpi config.txt documentation url 2022-01-13 05:57:30 +00:00
Kevin Daudt
0ca11641c7 scripts/mkimg.standard.sh: replace sudo with doas
As part of the move of sudo to community, we need to remove it from the
extended base image. Instead we add doas as a replacement.
2021-11-25 11:51:43 +00:00
Henrik Riomar
a81087496a scripts/mkimg.xen.sh: add syslinux
Its quite helpful to have this on the xen iso and it was there until:
	bcdaeacd52 main/xen: Remove dependency on syslinux
xen does not depend on syslinux so that is correct, but it had the
effect of syslinux also missing from the iso, and that breaks
setup-bootable
2021-11-19 17:27:21 +00:00
Natanael Copa
decb2303d4 scripts/mkimg.standard.sh: adjust packages for extended
drop unrar, lftp, email, haserl, lua5.3, screen and cciss_vol_status.

unrar has moved to non-free.

include coreutils, f2fs-tools and wireguard-tools.
2021-11-16 18:23:34 +01:00
Alex Xu (Hello71)
c9a8a1897a scripts/mkimg.base.sh: add openntpd to base
fixes #10080
2021-11-16 17:12:31 +00:00
Alex Xu (Hello71)
45de9d68b0 scripts/mkimg.standard.sh: remove unrar
moved to non-free in 7f875ea1e5
2021-11-16 16:31:06 +00:00
Ariadne Conill
ffb952273e bootstrap: also build openssl 1.1 2021-09-29 20:02:36 +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
Noel Kuntze
10bec7b748 scripts/bootstrap.sh: Fix error when pubkey exists in ~/.abuild and
/etc/apk/keys

cp: will not overwrite just-created '/home/buildozer/sysroot-aarch64/
/etc/apk/keys/buildozer-6086211a.rsa.pub' with '/home/buildozer/.
abuild/buildozer-6086211a.rsa.pub'
2021-09-18 09:49:11 +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