Compare commits

...

12 commits

Author SHA1 Message Date
Tobias Powalowski
1a1f3e6cee remove pwait 2023-06-28 07:58:10 +02:00
Tobias Powalowski
e6777881c3 update CHANGELOG 2023-06-28 07:48:49 +02:00
Tobias Powalowski
f2979242aa update CHANGELOG 2023-06-28 07:47:42 +02:00
Tobias Powalowski
07f94fa59b update CHANGELOG 2023-06-28 07:46:15 +02:00
Tobias Powalowski
e9bada6af5 update CHANGELOG 2023-06-28 07:45:24 +02:00
Tobias Powalowski
dbae59494b update CHANGELOG 2023-06-28 07:39:15 +02:00
Tobias Powalowski
bbee8e32f2 restart resolved in network 2023-06-28 07:13:46 +02:00
Tobias Powalowski
9a35ee39c6 rename offline mode function 2023-06-28 07:08:34 +02:00
Tobias Powalowski
5f3886c315 block set source again 2023-06-28 07:06:05 +02:00
Tobias Powalowski
de38e48d1f use pacman -Sy always on installing packages 2023-06-28 07:04:19 +02:00
Tobias Powalowski
72fb4d0f8e rename offline mode to local mode 2023-06-28 06:46:13 +02:00
Tobias Powalowski
660da3c0a0 don't block soruce on offline mode 2023-06-28 06:42:38 +02:00
6 changed files with 16 additions and 10 deletions

View file

@ -14,12 +14,13 @@ Environment Changes:
- made systemd initrd-switch-root routine bullet proof
- fixed /run/nouser leftovers
- disabled/masked systemd mounts:
fuse, debugfs, configfs, tmp and tracefs
configfs, debugfs, fuse, hugetablefs ,mqueue, tmp and tracefs
- disabled/masked systemd targets:
cryptsetup first-boot-complete integritysetup swap veritysetup
- disabled/masked systemd services:
binfmt boot-random-seed firstboot hwdb-update machine-id-commit
pcrmachine pcrphase pcrphase-sysinit repart
- disabled/masked proc-sys-fs-binfmt_misc.automount
- disabled/masked nfs3 support:
rpcbind.service, rpcbind.socket, rpcbind.target and nfs-server.service
- switch to default graphical.target
@ -46,7 +47,12 @@ setup:
- cleaned up partition functions
- fixed mountpoint checks on EFI directory
- renamed Auto-Prepare to Quick Setup
- fixed /efi /boot mounting order in quick setup mode
- disable Select Source and Network Configuration in Local Mode
- always run pacman -Sy on package installation
- restart systemd-networkd and systemd-resolved on network setup
- fixed /efi /boot mounting order in Quick Setup mode
- disable broken systemd-boot and UKI bootloaders on aarch64
- fixed empty UCODE in grub config
---
2023.05 Highlights:
- linux 6.3.x

View file

@ -62,8 +62,8 @@ _abort_running_system() {
_dialog --msgbox "This function is not available on System Setup Mode." 5 60
}
_abort_offline_mode() {
_dialog --msgbox "This function is not available on Offline Mode." 5 60
_abort_local_mode() {
_dialog --msgbox "This function is not available on Local Mode." 5 60
}
_geteditor() {
@ -300,7 +300,7 @@ _mainmenu() {
_set_vconsole ;;
"1")
if [[ -e "/var/cache/pacman/pkg/archboot.db" ]]; then
_abort_offline_mode
_abort_local_mode
else
_donetwork
fi ;;
@ -308,7 +308,7 @@ _mainmenu() {
if [[ "${_DESTDIR}" == "/" ]]; then
_abort_running_system
elif [[ -e "/var/cache/pacman/pkg/archboot.db" ]]; then
_abort_offline_mode
_abort_local_mode
else
_select_source || return 1
_update_environment

View file

@ -166,6 +166,7 @@ _donetwork() {
fi
echo "Using setup's network profile ${_NETWORK_PROFILE} now..." >"${_LOG}"
systemctl restart systemd-networkd
systemctl restart systemd-resolved
_dialog --infobox "Waiting for network link to come up..." 3 60
# add sleep here for systemd-resolve get correct values
sleep 5

View file

@ -6,7 +6,6 @@ _getsource() {
if [[ -e "${_LOCAL_DB}" ]]; then
_NEXTITEM="4"
_local_pacman_conf
_dialog --msgbox "Setup is running in <Local mode>.\nOnly Local package database is used for package installation.\n\nIf you want to switch to <Online mode>, you have to delete /var/cache/pacman/pkg/archboot.db and rerun this step." 10 70
else
_select_mirror || return 1
fi
@ -143,7 +142,7 @@ _run_pacman(){
echo "Installing Packages..." >/tmp/pacman.log
sleep 5
#shellcheck disable=SC2086,SC2069
${_PACMAN} -S ${_PACKAGES} |& tee -a "${_LOG}" /tmp/pacman.log &>"${_NO_LOG}"
${_PACMAN} -Sy ${_PACKAGES} |& tee -a "${_LOG}" /tmp/pacman.log &>"${_NO_LOG}"
echo $? > /tmp/.pacman-retcode
if [[ $(cat /tmp/.pacman-retcode) -ne 0 ]]; then
echo -e "\nPackage Installation FAILED." >>/tmp/pacman.log

View file

@ -24,7 +24,7 @@ build ()
basenc chcon comm csplit dircolors expand factor fmt hostid join link \
logname md5sum nice nl nohup nproc numfmt paste pathchk pinky pr printenv ptx realpath \
runcon sha1sum sha224sum sha256sum sha384sum sha512sum shuf split stdbuf sum timeout truncate \
tsort unexpand unlink users vdir pwait fuser prtstat pslog pstree newgidmap newuidmap \
tsort unexpand unlink users vdir fuser prtstat pslog pstree newgidmap newuidmap \
lzmainfo xzcmp xzgrep xzegrep xzfgrep gzexe uncompress zcmp zdiff zegrep zfgrep zforce zmore znew \
bunzip2 bzcat bzdiff bzgrep bzip2recover bzmore chacl getfacl setfacl attr getfattr \
setfattr pzstd unzstd zstdcat zstdgrep zstdless zstdmt lz4 lz4c lz4cat unlz4 gunzip zcat wipe \

View file

@ -24,7 +24,7 @@ build ()
dircolors expand factor fmt hostid join link logname md5sum nice nl nohup \
nproc numfmt paste pathchk pinky pr printenv ptx runcon sha1sum sha224sum \
sha256sum sha384sum sha512sum shuf split stdbuf sum timeout truncate tsort \
unexpand unlink users vdir pwait fuser prtstat pslog pstree newgidmap newuidmap \
unexpand unlink users vdir fuser prtstat pslog pstree newgidmap newuidmap \
lzmainfo xzcmp gzexe uncompress zcmp zdiff zegrep zfgrep zforce zmore znew \
bzdiff bzgrep bzip2recover bzmore chacl getfacl setfacl attr getfattr \
setfattr pzstd unzstd zstdcat zstdgrep zstdless zstdmt lz4 lz4c lz4cat unlz4 \