mirror of
https://github.com/eoli3n/archiso-zfs.git
synced 2026-01-29 19:34:14 +01:00
added debug method
This commit is contained in:
parent
0fbe4a4105
commit
9fa04494e9
|
|
@ -24,6 +24,13 @@ Boot on any archiso system, and run:
|
|||
curl -s https://eoli3n.github.io/archzfs/init | bash
|
||||
```
|
||||
|
||||
### Debug
|
||||
|
||||
To run the script in verbose mode, use:
|
||||
```
|
||||
curl -s https://eoli3n.github.io/archzfs/init | sed 's- &>/dev/null--' | bash
|
||||
```
|
||||
|
||||
### Related
|
||||
|
||||
- [Archzfs issue : Dynamically build/load ZFS module on default archiso #337](https://github.com/archzfs/archzfs/issues/337)
|
||||
|
|
|
|||
8
init
8
init
|
|
@ -41,7 +41,7 @@ Server = http://archzfs.com/archzfs/x86_64
|
|||
Server = http://mirror.sum7.eu/archlinux/archzfs/archzfs/x86_64
|
||||
Server = https://mirror.biocrafting.net/archlinux/archzfs/archzfs/x86_64
|
||||
EOF
|
||||
pacman -Sy > /dev/null
|
||||
pacman -Sy &>/dev/null
|
||||
}
|
||||
|
||||
init_archlinux_archive () {
|
||||
|
|
@ -121,7 +121,7 @@ download_package () {
|
|||
|
||||
print "Testing if archiso is running"
|
||||
|
||||
grep archiso /proc/cmdline > /dev/null
|
||||
grep archiso /proc/cmdline >/dev/null
|
||||
|
||||
print "Increasing cowspace to half of RAM"
|
||||
|
||||
|
|
@ -162,8 +162,8 @@ then
|
|||
print "Installing zfs-utils and zfs-linux"
|
||||
|
||||
# Install packages
|
||||
pacman -U "$zfs_utils_url" --noconfirm &> /dev/null
|
||||
pacman -U "$zfs_linux_package" --noconfirm > /dev/null && zfs=1
|
||||
pacman -U "$zfs_utils_url" --noconfirm &>/dev/null
|
||||
pacman -U "$zfs_linux_package" --noconfirm &>/dev/null && zfs=1
|
||||
fi
|
||||
fi
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue