Commit graph

83 commits

Author SHA1 Message Date
Jakub Jirutka
b0f0a05b18 Add FUNDING.yml 2021-12-28 11:42:24 +01:00
Jakub Jirutka
ea139ca4f9 Download apk-tools from gitlab.alpinelinux.org 2021-12-18 17:21:58 +01:00
Jakub Jirutka
4e3726a8fb Use HTTP instead of HTTPS in repositories URLs
Now it fails on GitHub Actions (f*cking Ubuntu or what?!):

    fetch https://dl-cdn.alpinelinux.org/alpine/latest-stable/main/x86_64/APKINDEX.tar.gz
    6907320:error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed:ssl/statem/statem_clnt.c:1914:

See-Also: #12
2021-12-18 17:21:58 +01:00
Jakub Jirutka
ea1f0ac122 License: Bump year 2021-11-26 01:32:51 +01:00
Jakub Jirutka
1e607ede77 Release version 0.8.0 2021-11-26 01:31:52 +01:00
Jakub Jirutka
145347d0da example: Replace v3.11 with latest-stable 2021-11-26 01:29:12 +01:00
Jakub Jirutka
faf94d8977 Avoid installing all linux-firmware-* packages for non-virt kernels
Closes #21
2021-11-26 01:20:53 +01:00
Jakub Jirutka
7bce94db74 Add new package signing key for x86_64 2021-11-14 00:09:37 +01:00
Olli Janatuinen
503ae1e363 CI: Enable for pull requests 2021-05-09 19:50:41 +02:00
Hunter Presnall
63a0342a56 Use APK cache if available on the host system 2021-04-03 01:18:23 +02:00
Jakub Jirutka
149b6a26ee Release version 0.7.0 2020-12-07 13:48:26 +01:00
Jakub Jirutka
feaa736363 Replace Travis CI with GitHub Actions 2020-12-07 13:42:55 +01:00
Jakub Jirutka
82386e624e Change default ALPINE_MIRROR to http://dl-cdn.alpinelinux.org/alpine
Fixes #12
2020-12-07 13:01:14 +01:00
Jakub Jirutka
581202213d Ensure that numerical branch has "v" prefix 2020-01-28 17:15:31 +01:00
Jakub Jirutka
f8568641b4 Change default ALPINE_BRANCH to latest-stable 2020-01-28 17:13:32 +01:00
Jakub Jirutka
683361f70e License: Bump year 2020-01-28 17:03:13 +01:00
Jakub Jirutka
d5b96dcaab Call shell by absolute path in chroot
When using the --script-chroot option, chroot is called with just sh
(relative path), relying on the host environment's $PATH to find the
executable. At least on Arch Linux, this does not work, as Arch Linux
by default does not have /bin in the PATH (/bin is just a symlink to
/usr/bin).

Since the chroot system was just built and it is know to contain
/bin/sh, I think it makes sense to just call it explicitly here.

Related to https://github.com/alpinelinux/alpine-make-rootfs/issues/10

Co-Authored-By: Conrad Hoffmann <ch@bitfehler.net>
2020-01-28 16:55:35 +01:00
Jakub Jirutka
4f8d71c4f4 Don't install qemu package, qemu-nbd is already provided by qemu-img
Since Alpine 3.7.
2019-12-22 17:40:55 +01:00
Jakub Jirutka
3b59b59aa1 Release version 0.6.0 2019-12-22 17:35:50 +01:00
Jakub Jirutka
213802b79f License: Bump year 2019-12-22 17:34:39 +01:00
Jakub Jirutka
21460ac20c Readme: Update LoC and run time 2019-12-22 17:32:50 +01:00
Jakub Jirutka
687478f2cb CI: Change dist to bionic 2019-12-22 17:31:34 +01:00
Oliver Frommel
6c4201fcd1 Add option to activate serial console
Resolves #6

Co-Authored-By: Jakub Jirutka <jakub@jirutka.cz>
I just refactored the code.
2019-12-22 17:26:14 +01:00
Jakub Jirutka
b4e289fd4b Readme: Remove note about running hardened kernel on VMware 2019-12-22 15:38:05 +01:00
Jakub Jirutka
9a9446c27f Readme: Fix grammar 2019-12-22 15:36:06 +01:00
Jakub Jirutka
d4b56bd70a Change default ALPINE_BRANCH to v3.11 2019-12-22 15:26:30 +01:00
Jakub Jirutka
2edd20e787 Add support for Alpine 3.11 2019-12-22 15:23:37 +01:00
Jakub Jirutka
3f4e577959 Remove unused variable $5 (kernel_opts) in setup_extlinux() 2019-12-22 15:20:59 +01:00
Jakub Jirutka
e3867f2ebc Remove default for hardened kernel 2019-12-22 11:59:06 +01:00
Jakub Jirutka
8fdd32d72d Upgrade apk-tools to 2.10.4 2019-12-22 11:30:27 +01:00
Jakub Jirutka
9c6ac41e2c Update apk-tools to 2.10.3 2019-10-17 13:29:05 +02:00
Jakub Jirutka
dd03b21af5 Release version 0.5.0 2019-08-14 23:17:31 +02:00
Jakub Jirutka
ed7a69d738 Fix installing of FS progs with newer apk
See 37fbafcd92
2019-08-14 23:08:40 +02:00
Pedro Filipe
1c5a181593 Change default ALPINE_BRANCH branch to v3.10 2019-08-14 22:29:53 +02:00
Alex Gaines
a3462e896b Ensure that /usr/sbin /usr/bin /sbin /bin is in PATH
Arch Linux does not have /bin or /sbin in PATH by default, so the script
fails to execute extlinux, update-extlinux, mkfs.* etc.
2019-08-14 22:24:55 +02:00
Jakub Jirutka
ea6dcfe635 Change default ALPINE_BRANCH branch to v3.9 2019-02-05 17:15:53 +01:00
Jakub Jirutka
180de0d818 Release version 0.4.0 2018-09-16 19:44:32 +02:00
Jakub Jirutka
5f34e1c93c Update apk-tools to 2.10.1 2018-09-16 18:53:41 +02:00
Jakub Jirutka
aa55b71a9c Explicitly set bind mounts' propagation type to private
If I understand it correctly, the default propagation type is private,
but f**king systemd mounts everything as shared. This is especially
problematic when doing recursive bind, which is not our case, but still
better to explicitly set propagation to private anyway.

See: https://lwn.net/Articles/689856/, https://lwn.net/Articles/690679/
2018-09-16 18:13:12 +02:00
Jakub Jirutka
27b5a7e2d0 Add options --branch and --mirror-uri
Resolves #3
2018-09-09 23:13:22 +02:00
Jakub Jirutka
9357e9dd66 Embed Alpine keys for x86_64 into the script
Resolves #3
2018-09-09 22:38:18 +02:00
Jakub Jirutka
30c8b67c6c Release version 0.3.0 2018-06-27 00:42:59 +02:00
Jakub Jirutka
df0af96210 License: Update year 2018-06-27 00:42:10 +02:00
Jakub Jirutka
73e3595694 Update example repositories to v3.8 2018-06-26 15:49:58 +02:00
Jakub Jirutka
c48b06d2c2 Add cgroups to sysinit runlevel when available
See https://github.com/alpinelinux/aports/pull/3886
2018-06-26 15:47:10 +02:00
Jakub Jirutka
f0d2580af3 Install linux-virt by default if available, fallback to virthardened 2018-06-26 15:36:37 +02:00
Jakub Jirutka
12ee2de4c6 Update apk-tools link to 2.10.0 2018-06-26 15:23:05 +02:00
Jakub Jirutka
fc36d1b8e7 Release version 0.2.2 2018-03-30 23:29:31 +02:00
Jakub Jirutka
9453e17006 Update apk-tools link to 2.9.1 2018-03-30 23:22:27 +02:00
Jakub Jirutka
86e3340c0a Makefile: Declare "install" as PHONY and sort targets 2017-11-15 13:18:59 +01:00