Compare commits
No commits in common. "15d67f2e3f933443ad5c49f766c99c846902a95e" and "9525976fe2aaf456fad6481a109e6e4b972ab1a2" have entirely different histories.
15d67f2e3f
...
9525976fe2
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,2 +1 @@
|
|||||||
archzbm_settings.env
|
archzbm_settings.env
|
||||||
.idea
|
|
||||||
|
14
setup.sh
14
setup.sh
@ -451,12 +451,7 @@ function install_pkgs () {
|
|||||||
function install_zfs () {
|
function install_zfs () {
|
||||||
#1.6
|
#1.6
|
||||||
declare reset_colors='\033[0m'
|
declare reset_colors='\033[0m'
|
||||||
if modinfo 'zfs' &>/dev/null; then
|
curl -s 'https://raw.githubusercontent.com/eoli3n/archiso-zfs/master/init' | bash
|
||||||
>&3 printf -- '%s\n' \
|
|
||||||
'ZFS kernel module is loaded, no need to install ...'
|
|
||||||
else
|
|
||||||
curl -s 'https://raw.githubusercontent.com/eoli3n/archiso-zfs/master/init' | bash
|
|
||||||
fi
|
|
||||||
printf -- "${reset_colors}"
|
printf -- "${reset_colors}"
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -1305,10 +1300,6 @@ function get_disks_with_one_efipart () {
|
|||||||
|
|
||||||
function install_os_in_chroot () {
|
function install_os_in_chroot () {
|
||||||
#2.2
|
#2.2
|
||||||
dd if='/dev/zero' of='/swapfile' bs='1M' count='2048'
|
|
||||||
losetup '/dev/loop9' '/swapfile'
|
|
||||||
mkswap '/dev/loop9'
|
|
||||||
swapon '/dev/loop9'
|
|
||||||
### Reinit keyring
|
### Reinit keyring
|
||||||
# As keyring is initialized at boot, and copied to the install dir with pacstrap, and ntp is running
|
# As keyring is initialized at boot, and copied to the install dir with pacstrap, and ntp is running
|
||||||
# Time changed after keyring initialization, it leads to malfunction
|
# Time changed after keyring initialization, it leads to malfunction
|
||||||
@ -1355,9 +1346,6 @@ function install_os_in_chroot () {
|
|||||||
add_syslinux_pacman_hook
|
add_syslinux_pacman_hook
|
||||||
fi
|
fi
|
||||||
add_zbm_pacman_hook
|
add_zbm_pacman_hook
|
||||||
swapoff '/dev/loop9'
|
|
||||||
losetup -d '/dev/loop9'
|
|
||||||
rm '/swapfile'
|
|
||||||
}
|
}
|
||||||
|
|
||||||
function set_root_pw () {
|
function set_root_pw () {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user