Compare commits

..

No commits in common. "1a1f3e6cee8be331424c0543213369b4fc752ede" and "ed455affac356f0eb01426292f660c8ee8e332b6" have entirely different histories.

6 changed files with 10 additions and 16 deletions

View file

@ -14,13 +14,12 @@ Environment Changes:
- made systemd initrd-switch-root routine bullet proof - made systemd initrd-switch-root routine bullet proof
- fixed /run/nouser leftovers - fixed /run/nouser leftovers
- disabled/masked systemd mounts: - disabled/masked systemd mounts:
configfs, debugfs, fuse, hugetablefs ,mqueue, tmp and tracefs fuse, debugfs, configfs, tmp and tracefs
- disabled/masked systemd targets: - disabled/masked systemd targets:
cryptsetup first-boot-complete integritysetup swap veritysetup cryptsetup first-boot-complete integritysetup swap veritysetup
- disabled/masked systemd services: - disabled/masked systemd services:
binfmt boot-random-seed firstboot hwdb-update machine-id-commit binfmt boot-random-seed firstboot hwdb-update machine-id-commit
pcrmachine pcrphase pcrphase-sysinit repart pcrmachine pcrphase pcrphase-sysinit repart
- disabled/masked proc-sys-fs-binfmt_misc.automount
- disabled/masked nfs3 support: - disabled/masked nfs3 support:
rpcbind.service, rpcbind.socket, rpcbind.target and nfs-server.service rpcbind.service, rpcbind.socket, rpcbind.target and nfs-server.service
- switch to default graphical.target - switch to default graphical.target
@ -47,12 +46,7 @@ setup:
- cleaned up partition functions - cleaned up partition functions
- fixed mountpoint checks on EFI directory - fixed mountpoint checks on EFI directory
- renamed Auto-Prepare to Quick Setup - renamed Auto-Prepare to Quick Setup
- disable Select Source and Network Configuration in Local Mode - fixed /efi /boot mounting order in quick setup 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: 2023.05 Highlights:
- linux 6.3.x - 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 _dialog --msgbox "This function is not available on System Setup Mode." 5 60
} }
_abort_local_mode() { _abort_offline_mode() {
_dialog --msgbox "This function is not available on Local Mode." 5 60 _dialog --msgbox "This function is not available on Offline Mode." 5 60
} }
_geteditor() { _geteditor() {
@ -300,7 +300,7 @@ _mainmenu() {
_set_vconsole ;; _set_vconsole ;;
"1") "1")
if [[ -e "/var/cache/pacman/pkg/archboot.db" ]]; then if [[ -e "/var/cache/pacman/pkg/archboot.db" ]]; then
_abort_local_mode _abort_offline_mode
else else
_donetwork _donetwork
fi ;; fi ;;
@ -308,7 +308,7 @@ _mainmenu() {
if [[ "${_DESTDIR}" == "/" ]]; then if [[ "${_DESTDIR}" == "/" ]]; then
_abort_running_system _abort_running_system
elif [[ -e "/var/cache/pacman/pkg/archboot.db" ]]; then elif [[ -e "/var/cache/pacman/pkg/archboot.db" ]]; then
_abort_local_mode _abort_offline_mode
else else
_select_source || return 1 _select_source || return 1
_update_environment _update_environment

View file

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

View file

@ -6,6 +6,7 @@ _getsource() {
if [[ -e "${_LOCAL_DB}" ]]; then if [[ -e "${_LOCAL_DB}" ]]; then
_NEXTITEM="4" _NEXTITEM="4"
_local_pacman_conf _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 else
_select_mirror || return 1 _select_mirror || return 1
fi fi
@ -142,7 +143,7 @@ _run_pacman(){
echo "Installing Packages..." >/tmp/pacman.log echo "Installing Packages..." >/tmp/pacman.log
sleep 5 sleep 5
#shellcheck disable=SC2086,SC2069 #shellcheck disable=SC2086,SC2069
${_PACMAN} -Sy ${_PACKAGES} |& tee -a "${_LOG}" /tmp/pacman.log &>"${_NO_LOG}" ${_PACMAN} -S ${_PACKAGES} |& tee -a "${_LOG}" /tmp/pacman.log &>"${_NO_LOG}"
echo $? > /tmp/.pacman-retcode echo $? > /tmp/.pacman-retcode
if [[ $(cat /tmp/.pacman-retcode) -ne 0 ]]; then if [[ $(cat /tmp/.pacman-retcode) -ne 0 ]]; then
echo -e "\nPackage Installation FAILED." >>/tmp/pacman.log 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 \ 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 \ 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 \ runcon sha1sum sha224sum sha256sum sha384sum sha512sum shuf split stdbuf sum timeout truncate \
tsort unexpand unlink users vdir fuser prtstat pslog pstree newgidmap newuidmap \ tsort unexpand unlink users vdir pwait fuser prtstat pslog pstree newgidmap newuidmap \
lzmainfo xzcmp xzgrep xzegrep xzfgrep gzexe uncompress zcmp zdiff zegrep zfgrep zforce zmore znew \ 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 \ 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 \ 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 \ dircolors expand factor fmt hostid join link logname md5sum nice nl nohup \
nproc numfmt paste pathchk pinky pr printenv ptx runcon sha1sum sha224sum \ nproc numfmt paste pathchk pinky pr printenv ptx runcon sha1sum sha224sum \
sha256sum sha384sum sha512sum shuf split stdbuf sum timeout truncate tsort \ sha256sum sha384sum sha512sum shuf split stdbuf sum timeout truncate tsort \
unexpand unlink users vdir fuser prtstat pslog pstree newgidmap newuidmap \ unexpand unlink users vdir pwait fuser prtstat pslog pstree newgidmap newuidmap \
lzmainfo xzcmp gzexe uncompress zcmp zdiff zegrep zfgrep zforce zmore znew \ lzmainfo xzcmp gzexe uncompress zcmp zdiff zegrep zfgrep zforce zmore znew \
bzdiff bzgrep bzip2recover bzmore chacl getfacl setfacl attr getfattr \ bzdiff bzgrep bzip2recover bzmore chacl getfacl setfacl attr getfattr \
setfattr pzstd unzstd zstdcat zstdgrep zstdless zstdmt lz4 lz4c lz4cat unlz4 \ setfattr pzstd unzstd zstdcat zstdgrep zstdless zstdmt lz4 lz4c lz4cat unlz4 \