Commit graph

272 commits

Author SHA1 Message Date
Tobias Powalowski
9eda1ebd56 add X support with XFCE desktop and VNC shar 2022-05-03 11:03:43 +02:00
Tobias Powalowski
626d18c978 add X support with XFCE desktop and VNC sharing enabled 2022-05-03 11:01:16 +02:00
Tobias Powalowski
36b3b0922f shellcheck replace cat with < 2022-04-30 17:52:45 +02:00
Tobias Powalowski
b657b0ca26 replace tabs with spaces 2022-04-30 08:47:58 +02:00
Tobias Powalowski
b39cc2f002 set loglevel on aarch64 to 4, remove printk hack 2022-04-28 14:55:56 +02:00
Tobias Powalowski
516da99929 first finish gpg before removing keying 2022-04-27 14:50:34 +02:00
Tobias Powalowski
bf0cfa726e fix HWKVER on aarch64 2022-04-26 07:17:03 +02:00
Tobias Powalowski
9ce90f910d functionalize update-installer.sh 2022-04-25 15:11:54 +02:00
Tobias Powalowski
a5fb505ecb only update binaries that exist 2022-04-25 14:27:24 +02:00
Tobias Powalowski
5f6ddd25b6 only create directory if missing 2022-04-25 10:42:36 +02:00
Tobias Powalowski
47e32c094b add -q 2022-04-25 09:54:02 +02:00
Tobias Powalowski
528fcc322b add umount function to update-installer 2022-04-25 09:30:02 +02:00
Tobias Powalowski
4ecc4b95a3 add comments 2022-04-25 09:13:56 +02:00
Tobias Powalowski
d7afbb2700 move ZRAM to top, move printk out of zram function 2022-04-25 09:06:54 +02:00
Tobias Powalowski
9e2f2d7424 speed up deletion 2022-04-23 17:05:20 +02:00
Tobias Powalowski
1f7240aec9 speed up deletion 2022-04-23 16:57:07 +02:00
Tobias Powalowski
addd54b48e fix HWKVER 2022-04-23 16:47:03 +02:00
Tobias Powalowski
30cfa4ab69 fix HWKVER 2022-04-23 16:11:00 +02:00
Tobias Powalowski
7801376eaf fix HWKVER 2022-04-23 16:03:42 +02:00
Tobias Powalowski
e66bce0521 fix HWKVER 2022-04-23 15:56:10 +02:00
Tobias Powalowski
3d282c37cb fix kver detection 2022-04-23 15:48:11 +02:00
Tobias Powalowski
1c7b5e3ae0 slow down deletion 2022-04-23 15:40:55 +02:00
Tobias Powalowski
575c37603a add sleep 2 2022-04-21 09:01:48 +02:00
Tobias Powalowski
29ea3d58aa move comment 2022-04-20 19:42:46 +02:00
Tobias Powalowski
9dc32bac68 add backgrounding of zstd 2022-04-20 18:46:05 +02:00
Tobias Powalowski
4438853e6c fix pgrep typo 2022-04-20 18:42:56 +02:00
Tobias Powalowski
16abcbf9d9 fix pgrep typo 2022-04-20 18:39:13 +02:00
Tobias Powalowski
e25d95bc39 add while loop for kexec 2022-04-20 18:27:38 +02:00
Tobias Powalowski
00b72225ef create instdir if not present 2022-04-20 14:22:10 +02:00
Tobias Powalowski
fb7941a92a create instdir if not present 2022-04-20 14:21:30 +02:00
Tobias Powalowski
3995438cc1 move mkfs.btrfs out of filesystem, add rmmod to base_common, change update-installer.sh to use rmmod and add UEFI/BIOS kexec handling 2022-04-20 14:07:49 +02:00
Tobias Powalowski
015bb0824a add module remove that works on latest images 2022-04-18 14:23:32 +02:00
Tobias Powalowski
c3a3a1ce3c unload virtio-net to avoid non functioning network on aarch64 kexec reboot 2022-04-18 10:10:04 +02:00
Tobias Powalowski
b90f424b66 unload virtio-net to avoid non functioning network on aarch64 kexec reboot 2022-04-18 10:06:37 +02:00
Tobias Powalowski
eec41a399a add defaults to update files 2022-04-17 17:01:36 +02:00
Tobias Powalowski
937a49c9ee disable kernel messages on aarch64 update process 2022-04-17 14:10:28 +02:00
Tobias Powalowski
db4bb5fc1f direct output to /dev/tty7 2022-04-17 13:48:41 +02:00
Tobias Powalowski
fbf8ef99f9 stop correct pacman-init service on each arch 2022-04-17 10:56:42 +02:00
Tobias Powalowski
80a39ed69a add more ZRAM for aarch64, remove max_comp_streams option it's set correct by kernel 2022-04-17 10:49:32 +02:00
Tobias Powalowski
573e759815 add color to update scripts 2022-04-08 09:41:57 +02:00
Tobias Powalowski
cc8d4e9cfa add mkkeys.sh and secureboot-keys.sh ton update scripte, shorten paths 2022-04-08 09:37:06 +02:00
Tobias Powalowski
87965f4dd9 remove archboot- from restore-usbstick.sh 2022-04-05 21:11:56 +02:00
Tobias Powalowski
c7f720518b remove archboot- from backup scripts on environment, add backup scripts to updater 2022-04-05 09:59:34 +02:00
Tobias Powalowski
aba77b0b4e higher memory 0.1GB due to marvell firmware integration 2022-04-03 08:04:03 +02:00
Tobias Powalowski
f46f81c5a7 replace -z with shell replacement 2022-03-28 21:46:14 +02:00
Tobias Powalowski
fbdfa74ee8 move parameter check to correct position 2022-03-28 21:00:53 +02:00
Tobias Powalowski
2b8e576039 make ZRAM parameters configurable in defaults 2022-03-28 20:51:10 +02:00
Tobias Powalowski
cc7d9af301 move now to end of sentence 2022-03-27 13:37:39 +02:00
Tobias Powalowski
9be76d837f update messages 2022-03-27 13:23:20 +02:00
Tobias Powalowski
d1ac58639a update messages 2022-03-27 13:20:35 +02:00
Tobias Powalowski
9015462bda update messages 2022-03-27 13:19:38 +02:00
Tobias Powalowski
3d13d76a3d update messages 2022-03-27 13:16:20 +02:00
Tobias Powalowski
9f61fd545d move kver before message 2022-03-25 21:11:10 +01:00
Tobias Powalowski
d8714ee465 add double quotes 2022-03-25 19:26:03 +01:00
Tobias Powalowski
9f56c77edb change messages to correct paths 2022-03-25 18:01:24 +01:00
Tobias Powalowski
8ef7ddbf79 update RAM requirements in script 2022-03-25 12:42:18 +01:00
Tobias Powalowski
fac75b2f15 don't remove makepkg directory for repo-add 2022-03-25 12:16:04 +01:00
Tobias Powalowski
92624aa6e3 fix release error handling 2022-03-25 11:58:26 +01:00
Tobias Powalowski
f2a70dd30b huge RAM improvement on latest image 2022-03-25 09:14:25 +01:00
Tobias Powalowski
1e588a4c2b remove LANG=C from initcpio creation 2022-03-24 16:53:38 +01:00
Tobias Powalowski
1f9ecddbca fix INST_PATH 2022-03-24 16:24:43 +01:00
Tobias Powalowski
bfc64c2a2f huge optimizing of update installer with saving RAM 2022-03-24 16:20:05 +01:00
Tobias Powalowski
f59fa731c2 try zram on image update 2022-03-22 20:22:34 +01:00
Tobias Powalowski
f1595955d6 correct functions 2022-03-21 22:28:08 +01:00
Tobias Powalowski
2dace79d54 break setup into functions 2022-03-21 22:25:15 +01:00
Tobias Powalowski
aabbf99e1a fix typo in pgrep 2022-03-21 11:19:03 +01:00
Tobias Powalowski
8a60f3acec pgrep on correct process 2022-03-21 10:57:49 +01:00
Tobias Powalowski
562272a68d update-installer.sh revert pgrep change on itself 2022-03-21 09:32:55 +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
8f7832cda5 replace tabs with spaces 2022-03-18 16:09:33 +01:00
Tobias Powalowski
ad92db6394 small fixes 2022-03-18 16:08:12 +01:00
Tobias Powalowski
9935071dd2 change messages 2022-03-18 14:25:36 +01:00
Tobias Powalowski
fe500dbf83 move install to base_common 2022-03-18 14:14:10 +01:00
Tobias Powalowski
654e9a59f5 add check for pacman-key running 2022-03-18 14:02:45 +01:00
Tobias Powalowski
1fe6d9c2a3 start adding offline iso 2022-03-18 12:32:00 +01:00
Tobias Powalowski
5b7325e3cb switch back to zstd with -10 compression level saves 13MB RAM, maximum -19 gives 26MB RAM but needs way too long to compress 2022-03-17 12:13:36 +01:00
Tobias Powalowski
9f2807ba8d add -9 to lz4 to save RAM 2022-03-16 16:46:08 +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
42d5650bae fix latest iso, move systemd-umount to the beginning 2022-03-15 21:06:22 +01:00
Tobias Powalowski
8dd9be6551 do not allow to run update-installer.sh more than one instance 2022-03-07 23:08:34 +01:00
Tobias Powalowski
066746618a update paths 2022-03-07 22:47:42 +01:00
Tobias Powalowski
dc0c535f31 change to file check 2022-03-07 22:39:50 +01:00
Tobias Powalowski
bf1b13dbdc do not allow to run update-installer.sh more than one instance 2022-03-07 22:23:28 +01:00
Tobias Powalowski
c2b8f99d1f shellcheck code cleanup, enable parallel building for both architectures 2022-02-20 10:15:57 +01:00
Tobias Powalowski
f0032fc6b8 add repository script, always download files in update script 2022-02-15 12:12:55 +01:00
Tobias Powalowski
f9fc2128af disable shellcheck warning 2022-02-08 20:45:02 +01:00
Tobias Powalowski
d0728e6277 small fixes detected by shellcheck 2022-02-08 17:17:17 +01:00
Tobias Powalowski
921a1b22a9 big cleanup of build scripts with functions 2022-02-08 17:01:21 +01:00
Tobias Powalowski
5838c69d1c update RAM requirement in script 2022-02-06 09:46:06 +01:00
Tobias Powalowski
9e54b5e27e revert try 2022-02-06 09:36:41 +01:00
Tobias Powalowski
5c84a7bd3b fix typo 2022-02-06 08:43:15 +01:00
Tobias Powalowski
6c359da93e try to load the initrd directly while creating it 2022-02-06 08:41:08 +01:00
Tobias Powalowski
add1f6f69a update RAM requirements in update-installer.sh 2022-02-05 20:32:09 +01:00
Tobias Powalowski
e457c673df implement cleanup during update installer 2022-02-05 10:07:00 +01:00
Tobias Powalowski
72cea0678d update RAM requirements 2022-02-03 14:32:34 +01:00
Tobias Powalowski
eb678a888e change RAM requirements 2022-02-03 13:40:10 +01:00
Tobias Powalowski
b9d5a8e2e3 lower mem requirement 2022-02-03 10:36:40 +01:00
Tobias Powalowski
a182377ddb fix comment 2022-02-03 10:01:03 +01:00
Tobias Powalowski
5267c86645 correct initramfs creation 2022-02-03 09:42:15 +01:00
Tobias Powalowski
e7ae869197 remove wrong mv 2022-02-03 09:25:48 +01:00
Tobias Powalowski
1357971288 add additional exit 1 2022-02-03 09:14:04 +01:00
Tobias Powalowski
5b8ed698b4 add additional exit 1 2022-02-03 09:13:09 +01:00
Tobias Powalowski
ced8ad0ea2 move redirect and exit out of call 2022-02-03 09:12:12 +01:00
Tobias Powalowski
954d258537 update initramfs creation in update script 2022-02-03 09:09:19 +01:00
Tobias Powalowski
92cd0e65af add correct check on HWKVER 2022-02-03 07:20:22 +01:00
Tobias Powalowski
d5fc05e0de add W_DIR 2022-02-03 07:17:00 +01:00
Tobias Powalowski
0bfdbfe876 add kver to updater 2022-02-03 07:14:49 +01:00
Tobias Powalowski
9ad68e0e17 remove cleanup 2022-02-03 00:10:37 +01:00
Tobias Powalowski
f77c05cf16 don't cache all archboot depends to safe space for -latest-install 2022-02-02 23:55:52 +01:00
Tobias Powalowski
a5de88f6a1 fix update script 2022-02-02 23:13:03 +01:00
Tobias Powalowski
d4e5c70151 fix update script 2022-02-02 22:59:25 +01:00
Tobias Powalowski
8fec702ea8 fix update script 2022-02-02 22:47:50 +01:00
Tobias Powalowski
5d874c6403 fix update script 2022-02-02 22:33:01 +01:00
Tobias Powalowski
cb2ebfbc85 fix update script 2022-02-02 22:24:47 +01:00
Tobias Powalowski
d0b7ab85a7 fix update script 2022-02-02 22:23:30 +01:00
Tobias Powalowski
3686b70ff2 fix update script 2022-02-02 22:21:24 +01:00
Tobias Powalowski
3bfc55dbbd switch compression in booted archboot to lz4 2022-02-02 22:16:32 +01:00
Tobias Powalowski
1ecd767800 cleanup update script 2022-02-02 22:06:37 +01:00
Tobias Powalowski
23f796ae84 add binary check to environment 2022-01-28 08:24:31 +01:00
Tobias Powalowski
38d5dd19dd code cleanup 2022-01-21 11:54:13 +01:00
Tobias Powalowski
377834b6e3 change to new linux-firmware 2022-01-20 06:54:48 +01:00
Tobias Powalowski
9975944c2b replace uname -m with parameter 2022-01-18 22:41:45 +01:00
Tobias Powalowski
42a03af04f change parameters to start with _ 2022-01-13 17:21:39 +01:00
Tobias Powalowski
d549d91131 update RAM requirement for image creation 2022-01-12 09:57:23 +01:00
Tobias Powalowski
0b4d3a533c fix keyring initialization on latest image 2022-01-09 19:09:15 +01:00
Tobias Powalowski
386962e6bb don't delete pacman before assembling 2022-01-09 18:45:37 +01:00
Tobias Powalowski
905339ea6f add the correct helpers to ramdisk 2022-01-08 09:51:29 +01:00
Tobias Powalowski
2d98ad7b3c add aarch64 to the updater script 2022-01-08 09:39:59 +01:00
Tobias Powalowski
d9ec40ca3b move archboot-create-container to archboot-x86_64-create-container 2022-01-08 09:04:11 +01:00
Tobias Powalowski
cab3cc66b0 update RAM requirements 2021-12-12 14:22:27 +01:00
Tobias Powalowski
8b2b700fd5 add backup of wrong initcpio/functions and restore it after work 2021-12-01 12:40:34 +01:00
Tobias Powalowski
7f02f06dd3 fix latest image for initcpio 31 2021-11-30 18:37:03 +01:00
Tobias Powalowski
b1748b4e31 fix spaces in update-installer 2021-10-08 16:38:42 +02:00
Tobias Powalowski
efe32b5e82 add safety check to avoid running update script on a normal system 2021-10-08 15:02:21 +02:00
Tobias Powalowski
d9c0a41553 higher latest memory image to 3800 2021-10-08 10:04:39 +02:00
Tobias Powalowski
00e790802a change login message on latest image 2021-10-07 15:15:20 +02:00
Tobias Powalowski
50490d8170 fix space 2021-10-07 07:48:14 +02:00
Tobias Powalowski
613cb2226b add and update messages 2021-10-07 07:22:05 +02:00
Tobias Powalowski
2cf7b67a03 correct spaces 2021-10-06 17:49:16 +02:00
Tobias Powalowski
2668847493 reformat messages 2021-10-06 17:44:17 +02:00
Tobias Powalowski
065b6e37c7 change messages a bit 2021-10-06 17:36:32 +02:00
Tobias Powalowski
0b24b47335 change messages a bit 2021-10-06 17:35:33 +02:00
Tobias Powalowski
3b67d9f674 send logging to /dev/tty7 and add messages of status 2021-10-06 17:14:26 +02:00
Tobias Powalowski
e71f9150a7 add rebooting message before launching kexec 2021-10-04 22:12:29 +02:00
Tobias Powalowski
e3c7e84142 start to add latest image parts 2021-10-04 19:52:58 +02:00
Tobias Powalowski
d363ab3f1a add updating of environment with package caching to setup script 2021-09-26 18:42:46 +02:00
Tobias Powalowski
e992d389c5 update RAM requirements 2021-09-26 08:52:27 +02:00
Tobias Powalowski
d08c02de1f more cleanup 2021-09-26 07:57:01 +02:00
Tobias Powalowski
0907678e5f cleanup system before reassembling #2 2021-09-25 21:56:24 +02:00