Commit graph

967 commits

Author SHA1 Message Date
Tobias Powalowski
f55e352fe1 format bootloader messages 2022-03-22 09:45:02 +01:00
Tobias Powalowski
c622ae224b bootctl logged to tty 2022-03-22 09:37:36 +01:00
Tobias Powalowski
fd6bc7cc80 move bootctl output to logging 2022-03-22 09:26:02 +01:00
Tobias Powalowski
6a61a8df88 move INITRAMFS to bootloader 2022-03-22 08:50:02 +01:00
Tobias Powalowski
ac18b7dacc remove emtpy line 2022-03-22 08:38:07 +01:00
Tobias Powalowski
bfecc8cd1f remove getdest function, not needed DESTDIR is always set 2022-03-22 08:37:05 +01:00
Tobias Powalowski
a761baf506 move more to basic function 2022-03-22 08:26:51 +01:00
Tobias Powalowski
bbd7756966 more functions fixing 2022-03-22 08:21:36 +01:00
Tobias Powalowski
3d491ec3bc add editor switch 2022-03-22 08:10:56 +01:00
Tobias Powalowski
0e2f03d887 add grub initializing message 2022-03-22 07:41:30 +01:00
Tobias Powalowski
975c154ed1 move PARAMETERS to correct function 2022-03-22 07:32:37 +01:00
Tobias Powalowski
024514bb1b apply functions changes to hooks 2022-03-21 22:46:59 +01:00
Tobias Powalowski
b14be0bc6d replace source with . 2022-03-21 22:31:09 +01:00
Tobias Powalowski
7d8b6277b2 replace source with . 2022-03-21 22:30:37 +01:00
Tobias Powalowski
2dace79d54 break setup into functions 2022-03-21 22:25:15 +01:00
Tobias Powalowski
8a5d05b8ab move comment to common file 2022-03-21 16:09:36 +01:00
Tobias Powalowski
26576bc697 add installer_common_functions to installer hook 2022-03-21 16:00:53 +01:00
Tobias Powalowski
ccb17ec737 split out double functions into installer_common_functions 2022-03-21 15:55:33 +01:00
Tobias Powalowski
469ddcd482 add quotes from shellcheck run 2022-03-21 12:53:16 +01:00
Tobias Powalowski
905a8bba99 disable 2 shellcheck warnings 2022-03-21 12:51:56 +01:00
Tobias Powalowski
d6d21178d1 add missing "" 2022-03-21 12:48:19 +01:00
Tobias Powalowski
d5178d23c4 use all patches for mkinitcpio in update mode, switch to pgrep in update-installer.sh, check if license directory exists in release mode, add pacman keyring as extra step 2022-03-21 09:10:18 +01:00
Tobias Powalowski
11eefcb830 add normal to image generation 2022-03-20 15:17:25 +01:00
Tobias Powalowski
e65ce71dbd always copy defaults to container 2022-03-19 10:17:41 +01:00
Tobias Powalowski
9e5c7951bd copy defaults to container 2022-03-19 10:07:31 +01:00
Tobias Powalowski
da52ceae4b pacman does not like " " with spaces 2022-03-19 09:10:34 +01:00
Tobias Powalowski
ebca26917a fix repository functions 2022-03-19 09:03:56 +01:00
Tobias Powalowski
b8352ab039 add /etc/archboot/defaults to installer hook 2022-03-19 08:46:54 +01:00
Tobias Powalowski
6ea03ba362 use _PACKAGES from /etc/archboot/defaults as standard package install source 2022-03-19 08:44:48 +01:00
Tobias Powalowski
e26527c360 add broadcom-wl to autodetected packages to install 2022-03-19 08:10:46 +01:00
Tobias Powalowski
4b018aa3c6 rearrange the pacman cache inclusion 2022-03-18 20:21:14 +01:00
Tobias Powalowski
ca55ae2b48 remove double slash 2022-03-18 18:40:06 +01:00
Tobias Powalowski
d5a7574954 add local profile to release 2022-03-18 17:43:40 +01:00
Tobias Powalowski
c27463e8c7 move offline files to local, add correct setup title 2022-03-18 17:18:00 +01:00
Tobias Powalowski
c2302310c4 fix typo of reproducible 2022-03-18 17:01:55 +01:00
Tobias Powalowski
5e31c12597 add archboot packages to cachedir 2022-03-18 16:21:09 +01:00
Tobias Powalowski
fe500dbf83 move install to base_common 2022-03-18 14:14:10 +01:00
Tobias Powalowski
1fe6d9c2a3 start adding offline iso 2022-03-18 12:32:00 +01:00
Tobias Powalowski
8a75967ca4 revert lz4 change, it's just an wrong error printed by the kernel and zstd works as expected in kexec mode 2022-03-17 11:57:37 +01:00
Tobias Powalowski
e98c2ef714 add screen terminfo files 2022-03-16 21:21:19 +01:00
Tobias Powalowski
5620fad427 add xterm-256color 2022-03-16 20:08:42 +01:00
Tobias Powalowski
6c166410b8 switch to lz4 -l compression in update-installer.sh mode, zstd is broken with kexec 2022-03-16 14:32:56 +01:00
Tobias Powalowski
cb76ffbc8f add -T0 -19 to zstd initramfs compressor, remove raw binary 2022-03-16 13:04:17 +01:00
Tobias Powalowski
b7059393ef add MODULES_DECOMPRESS=no to configs, rename update_installer hooks to cleanup 2022-03-16 10:07:36 +01:00
Tobias Powalowski
4a7058a9d1 add MODULES_DECOMPRESS=no to configs, rename update_installer hooks to cleanup 2022-03-16 10:00:53 +01:00
Tobias Powalowski
924ab69352 add logging to ttyS0 from tty1 on latest iso 2022-03-16 08:33:30 +01:00
Tobias Powalowski
42d5650bae fix latest iso, move systemd-umount to the beginning 2022-03-15 21:06:22 +01:00
Tobias Powalowski
1ad5ba0b0c update kms hook to enable more setups 2022-03-15 07:15:59 +01:00
Tobias Powalowski
705ea13d7b use map feature wherever possible 2022-03-14 21:32:33 +01:00
Tobias Powalowski
404d915838 move systemd-umount in file 2022-03-08 08:17:38 +01:00
Tobias Powalowski
2f09459483 remove full terminfo, only add linux and vt102 2022-03-08 08:07:50 +01:00
Tobias Powalowski
0556496872 add date to common base hooks 2022-03-07 21:53:41 +01:00
Tobias Powalowski
85d2978d15 replace _LINUX_FIRMWARE parameter in defaults with _PACKAGES, you can tell archboot to install any package here 2022-03-07 20:36:54 +01:00
Tobias Powalowski
338e24343e add /etc/archboot/defaults to environment 2022-03-07 20:26:44 +01:00
Tobias Powalowski
eb61050c6a fix grub config 2022-03-07 15:14:15 +01:00
Tobias Powalowski
4da17bcd9b switch names of grub config files, add echo for chosen grub menuentry 2022-03-07 07:21:26 +01:00
Tobias Powalowski
f183f9aca9 fix grub 2022-02-25 20:48:21 +01:00
Tobias Powalowski
e7a2943544 simplify grub, enable custom grub setup, add archboot background 2022-02-25 19:23:00 +01:00
Tobias Powalowski
190b6c1d89 remove btrfs-convert, it needs reiserfsprogs 2022-02-25 08:05:24 +01:00
Tobias Powalowski
9670f1b18b remove ntfs-3g support, not needed anymore kernel supports ntfs mounting 2022-02-25 07:19:03 +01:00
Tobias Powalowski
4b6ba5e73c remove reiserfs from hooks 2022-02-24 21:00:51 +01:00
Tobias Powalowski
537979f682 revert grub change 2022-02-24 10:29:30 +01:00
Tobias Powalowski
cef33e39d3 remove not needed grub efi modules, standalone grub does not need them 2022-02-24 07:31:24 +01:00
Tobias Powalowski
6ce21bcb47 move comment 2022-02-23 21:57:16 +01:00
Tobias Powalowski
456a42af68 check on i18n instead of locale directory i18n is in glibc! 2022-02-23 10:05:46 +01:00
Tobias Powalowski
9b038c7bbb fix locales in containers and tarball 2022-02-23 09:32:22 +01:00
Tobias Powalowski
6f081af2d0 fix locales in containers and tarball 2022-02-23 09:04:55 +01:00
Tobias Powalowski
8508963400 improve pacman aarch64 download/local setup in container_functions 2022-02-23 07:33:37 +01:00
Tobias Powalowski
f7fe368781 move clean locale to clean container 2022-02-22 21:35:35 +01:00
Tobias Powalowski
de3e3cca42 add sources archive, simplify server_functions 2022-02-22 17:14:44 +01:00
Tobias Powalowski
9887bfbcf1 shellcheck run 2022-02-22 10:38:31 +01:00
Tobias Powalowski
b984ef5765 correct comment 2022-02-22 10:26:35 +01:00
Tobias Powalowski
9c13c3a0e3 fix purge date and silent remove error 2022-02-22 10:24:47 +01:00
Tobias Powalowski
2eb7aeabe7 don't show errors on aarch64 cleanup 2022-02-21 20:01:30 +01:00
Tobias Powalowski
fcf8898382 don't show errors on aarch64 cleanup 2022-02-21 20:00:52 +01:00
Tobias Powalowski
c137c49f4d fix restore message 2022-02-21 18:20:58 +01:00
Tobias Powalowski
eb35943abb don't stop on cleanup tasks 2022-02-21 17:50:44 +01:00
Tobias Powalowski
54d075c34e allow pacman-chroot building for all users 2022-02-21 15:24:13 +01:00
Tobias Powalowski
d47d43120a add messages for restoring config files 2022-02-21 11:13:32 +01:00
Tobias Powalowski
680cf22e64 fix aarch64 download 2022-02-21 10:44:04 +01:00
Tobias Powalowski
f706742e1a fix variables 2022-02-21 10:20:18 +01:00
Tobias Powalowski
d405ab7a3e enable users to run build server 2022-02-21 10:12:50 +01:00
Tobias Powalowski
22245d826b add full upload directory to message 2022-02-20 11:49:12 +01:00
Tobias Powalowski
5240e395c2 delete directory after moving on server script 2022-02-20 11:31:02 +01:00
Tobias Powalowski
c2b8f99d1f shellcheck code cleanup, enable parallel building for both architectures 2022-02-20 10:15:57 +01:00
Tobias Powalowski
68e2a39c4f set LANG=C as default 2022-02-19 19:23:34 +01:00
Tobias Powalowski
f4fa66a49c don't stop on cleanup errors 2022-02-19 18:55:09 +01:00
Tobias Powalowski
03d5dc8cfa don't stop on cleanup errors 2022-02-19 18:53:47 +01:00
Tobias Powalowski
7e6d1aaf72 fix buildchain 2022-02-19 13:40:50 +01:00
Tobias Powalowski
75dd4d704d cleanup buildchain parameters 2022-02-19 09:57:31 +01:00
Tobias Powalowski
49e3c5a971 fix buildchain 2022-02-18 23:15:10 +01:00
Tobias Powalowski
b1988e1d93 fix pah for repository 2022-02-18 22:20:18 +01:00
Tobias Powalowski
d00f31015e add iso GPT reproducability 2022-02-18 18:22:17 +01:00
Tobias Powalowski
55d16a7031 add missing grub.cfg 2022-02-18 16:32:34 +01:00
Tobias Powalowski
108396c566 change to reproducable bootloaders 2022-02-18 15:50:06 +01:00
Tobias Powalowski
beba29dd97 add reproducable date to iso creation, efi.img and grub.efi's are still to be made reproducable 2022-02-17 09:34:21 +01:00
Tobias Powalowski
5ccac263ae set time for reproducable iso 2022-02-16 21:35:35 +01:00
Tobias Powalowski
f78c682c07 fix reproducibilty on initrds 2022-02-16 18:35:35 +01:00
Tobias Powalowski
2aef84ac5d fix buildchain 2022-02-15 21:39:34 +01:00
Tobias Powalowski
52dec0288e add reproducibility to isos 2022-02-15 12:41:48 +01:00
Tobias Powalowski
f0032fc6b8 add repository script, always download files in update script 2022-02-15 12:12:55 +01:00
Tobias Powalowski
1d362947bf fix locale-gen on aarch64 server script 2022-02-10 19:44:37 +01:00
Tobias Powalowski
cd9044f2c3 always generate locales after archboot installation 2022-02-10 14:22:59 +01:00
Tobias Powalowski
f632ff1158 silence output of mkfs.vfat and dd 2022-02-09 21:48:55 +01:00
Tobias Powalowski
c0782524d2 add dtbs files to iso image 2022-02-09 21:17:23 +01:00
Tobias Powalowski
d5964e760e fix aarch64 iso creation 2022-02-09 20:32:52 +01:00
Tobias Powalowski
f8b646392d fix more buildchain errors 2022-02-09 16:58:09 +01:00
Tobias Powalowski
f4ff519105 remove torrent code 2022-02-09 16:39:36 +01:00
Tobias Powalowski
7d1e534f24 remove torrent code 2022-02-09 16:38:44 +01:00
Tobias Powalowski
38708e73f8 remove torrent creation 2022-02-09 16:36:28 +01:00
Tobias Powalowski
25a61c57c6 fix torrent creation in release 2022-02-09 16:26:10 +01:00
Tobias Powalowski
9bc26723f1 fix cleanup in iso 2022-02-09 16:05:56 +01:00
Tobias Powalowski
83e4613092 fix buildchain 2022-02-09 14:46:27 +01:00
Tobias Powalowski
97b6583041 correct latest iso name 2022-02-09 13:24:16 +01:00
Tobias Powalowski
a5aaf37b58 fix server build script 2022-02-09 13:12:07 +01:00
Tobias Powalowski
2033e6f93b fix latest iso creation 2022-02-09 10:42:46 +01:00
Tobias Powalowski
f245a9b42e fix release script 2022-02-09 10:04:19 +01:00
Tobias Powalowski
b8ef052117 fix container creation 2022-02-09 09:59:28 +01:00
Tobias Powalowski
f5df400815 fix typo 2022-02-09 09:34:27 +01:00
Tobias Powalowski
16dd2f454b fix parameters in create iso 2022-02-09 09:32:56 +01:00
Tobias Powalowski
846311546a fix aarch64 container creation 2022-02-09 08:59:04 +01:00
Tobias Powalowski
25c209892a correct initramfs rm 2022-02-09 08:31:10 +01:00
Tobias Powalowski
a88b0301f1 disable shellcheck warnings 2022-02-08 20:47:46 +01:00
Tobias Powalowski
bff93a775b export variables and unset them 2022-02-08 20:41:57 +01:00
Tobias Powalowski
f964c85e5a fix function names 2022-02-08 20:20:21 +01:00
Tobias Powalowski
ddf0140794 small fixes detected by shellcheck 2022-02-08 17:20:48 +01:00
Tobias Powalowski
921a1b22a9 big cleanup of build scripts with functions 2022-02-08 17:01:21 +01:00
Tobias Powalowski
12b500f940 add comment about RAM saving 2022-02-07 15:16:34 +01:00
Tobias Powalowski
80762f0747 add directory check 2022-02-07 10:22:35 +01:00
Tobias Powalowski
c3813c30e1 fix deleting of caching dir 2022-02-05 21:52:25 +01:00
Tobias Powalowski
64b5b82dc0 move package cache and delete it afterwards 2022-02-05 18:14:49 +01:00
Tobias Powalowski
9cc0e5b1a2 switch ldd to non deletable 2022-02-05 17:50:18 +01:00
Tobias Powalowski
f01ee49d85 add comments to hooks, DO NÓT USE ON REGULAR SYSTEM. 2022-02-05 16:59:44 +01:00
Tobias Powalowski
c341f11217 delete double entries 2022-02-05 16:51:46 +01:00
Tobias Powalowski
e06dc7c435 fix symlinks on cleanup 2022-02-05 16:21:28 +01:00
Tobias Powalowski
0e26e7afe9 'move binaries to correct hook, move symlinks in front of binary' 2022-02-05 16:07:30 +01:00
Tobias Powalowski
0bdf14554f more update_installer hooks to save RAM 2022-02-05 12:09:39 +01:00
Tobias Powalowski
6fb824dcb6 remove module deleting, not possible modules are assemled in last mkinitcpio step 2022-02-05 11:28:41 +01:00
Tobias Powalowski
e457c673df implement cleanup during update installer 2022-02-05 10:07:00 +01:00
Tobias Powalowski
e933607a26 remove archinstall again, does not work 2022-02-04 14:14:35 +01:00
Tobias Powalowski
230f542cfa fix uname -m 2022-02-04 09:09:37 +01:00
Tobias Powalowski
beda2ddf7b only add archinstall on x86_64 2022-02-04 08:51:48 +01:00
Tobias Powalowski
502a8eeaf7 add archinstall as C version to archboot 2022-02-04 08:21:04 +01:00
Tobias Powalowski
6c06121883 add all cifs-utils 2022-02-03 22:38:39 +01:00
Tobias Powalowski
5e379267ee replace mkkeys.sh with a modified uuidgen one 2022-02-03 22:05:49 +01:00
Tobias Powalowski
7df53db659 add missing nano binary 2022-02-03 10:00:25 +01:00
Tobias Powalowski
954d258537 update initramfs creation in update script 2022-02-03 09:09:19 +01:00
Tobias Powalowski
75baadec28 move dd and hexdump to base_common 2022-02-03 07:28:14 +01:00
Tobias Powalowski
13c77fe01d remove another network driver 2022-02-02 16:07:04 +01:00
Tobias Powalowski
ef0ea688a3 remove another network driver 2022-02-02 16:02:10 +01:00