mirror of
https://codeberg.org/privacy1st/arch
synced 2024-12-23 01:16:04 +01:00
interactive pacstrap
This commit is contained in:
parent
db07cfe15d
commit
5d8bfab624
@ -208,7 +208,13 @@ function run_pacstrap() {
|
|||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
sudo pacstrap /mnt "${PKGS[@]}" || return $?
|
local args=()
|
||||||
|
if [ "${PACSTRAP_INTERACTIVE}" = "1" ]; then
|
||||||
|
args+=('-i') # run interactively
|
||||||
|
fi
|
||||||
|
args+=('/mnt')
|
||||||
|
|
||||||
|
sudo pacstrap "${args[@]}" "${PKGS[@]}" || return $?
|
||||||
}
|
}
|
||||||
|
|
||||||
function run_genfstab() {
|
function run_genfstab() {
|
||||||
|
@ -28,3 +28,5 @@ BIOS_TYPE=uefi
|
|||||||
# If set to "1", then the data, boot and luks partitions
|
# If set to "1", then the data, boot and luks partitions
|
||||||
# will be left mounted/opened after installation
|
# will be left mounted/opened after installation
|
||||||
LEAVE_MOUNTED=1
|
LEAVE_MOUNTED=1
|
||||||
|
|
||||||
|
PACSTRAP_INTERACTIVE=1
|
@ -1,9 +1,9 @@
|
|||||||
# Maintainer: Daniel Langbein <daniel@systemli.org>
|
# Maintainer: Daniel Langbein <daniel@systemli.org>
|
||||||
_pkgname=de-p1st-kernel-default
|
_pkgname=kernel-default
|
||||||
_reponame=arch
|
_reponame=arch
|
||||||
pkgname="de-p1st-$_pkgname"
|
pkgname="de-p1st-$_pkgname"
|
||||||
pkgver=0.0.4
|
pkgver=0.0.4
|
||||||
pkgrel=1
|
pkgrel=2
|
||||||
pkgdesc="The Linux kernel, modules and headers"
|
pkgdesc="The Linux kernel, modules and headers"
|
||||||
arch=('any')
|
arch=('any')
|
||||||
url="https://codeberg.org/privacy1st/${_reponame}"
|
url="https://codeberg.org/privacy1st/${_reponame}"
|
||||||
|
Loading…
Reference in New Issue
Block a user