Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Kristian Klausen
arch-boxes
Commits
cdcd7961
Commit
cdcd7961
authored
Dec 13, 2020
by
Kristian Klausen
🎉
Browse files
Use source for sourcing instead of .
It improves readability according to some..
parent
7c277938
Pipeline
#3539
passed with stages
in 30 minutes and 38 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
build-inside-vm.sh
View file @
cdcd7961
...
...
@@ -162,7 +162,7 @@ function main() {
setup_disk
bootstrap
# shellcheck source=images/base.sh
.
"
${
ORIG_PWD
}
/images/base.sh"
source
"
${
ORIG_PWD
}
/images/base.sh"
pre
unmount_image
...
...
@@ -176,10 +176,10 @@ function main() {
fi
# shellcheck source=images/common.sh
.
"
${
ORIG_PWD
}
/images/common.sh"
source
"
${
ORIG_PWD
}
/images/common.sh"
for
image
in
"
${
ORIG_PWD
}
/images/"
!(
base|common
)
.sh
;
do
# shellcheck source=/dev/null
.
"
${
image
}
"
source
"
${
image
}
"
create_image
"
${
IMAGE_NAME
}
"
pre post
done
}
...
...
images/base.sh
View file @
cdcd7961
...
...
@@ -61,7 +61,7 @@ EOF
# enabling important services
arch-chroot
"
${
MOUNT
}
"
/bin/bash
-e
<<
EOF
.
/etc/profile
source
/etc/profile
systemctl enable sshd
systemctl enable haveged
systemctl enable systemd-networkd
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment