Skip to content

Commit f6063c3

Browse files
vault usersetup
1 parent 23881c8 commit f6063c3

File tree

3 files changed

+11
-7
lines changed

3 files changed

+11
-7
lines changed

build-kali-raw.sh

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,18 +18,20 @@ export SUITE
1818
export OVERRIDER_MIRROR
1919
export INCLUDE_PACKAGES
2020
export DISABLE_LOCAL_DEBOOTSTRAP
21-
export FS_USER
22-
export FS_PASS
21+
export ENABLE_USER_SETUP
22+
# export FS_USER
23+
# export FS_PASS
2324

2425
SUITE="kali-rolling"
25-
FS_USER="kali"
26-
FS_PASS="kali" # no need to sepecify FS_UID & FS_GID cause default is 1001
26+
# FS_USER="kali"
27+
# FS_PASS="kali" # no need to sepecify FS_UID & FS_GID cause default is 1001
2728
OVERRIDER_MIRROR="http://http.kali.org/kali"
2829
frn="out/${SUITE}-raw"
2930
INCLUDE_PACKAGES="sudo apt-utils"
3031
OVERRIDER_COMPRESSION_TYPE="gzip"
3132
ENABLE_EXIT=true
3233
DISABLE_LOCAL_DEBOOTSTRAP=true
34+
ENABLE_USER_SETUP=false
3335

3436
warn "for best results use kali-linux host for building"
3537

cook.sh

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,14 @@ source plugins/colors
99

1010
export OVERRIDER_COMPRESSION_TYPE
1111
export ENABLE_EXIT
12-
export FS_USER
13-
export FS_PASS
12+
export ENABLE_USER_SETUP
13+
# export FS_USER
14+
# export FS_PASS
1415

1516
frn="out/hirsute-raw"
1617
OVERRIDER_COMPRESSION_TYPE="gzip"
1718
ENABLE_EXIT=true
19+
ENABLE_USER_SETUP=false
1820

1921
do_debootstrap "${frn}-arm64" arm64
2022
do_compress "${frn}-arm64"

plugins/envsetup

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -324,7 +324,7 @@ do_debootstrap() {
324324
manpages-dev \
325325
init-system-helpers"
326326

327-
if ! $DISABLE_USER_SETUP; then
327+
if $ENABLE_USER_SETUP; then
328328
setup_user
329329
fi
330330

0 commit comments

Comments
 (0)