Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
Arch Linux
arch-boxes
Commits
cdcd7961
Commit
cdcd7961
authored
Dec 13, 2020
by
Kristian Klausen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use source for sourcing instead of .
It improves readability according to some..
parent
7c277938
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
build-inside-vm.sh
build-inside-vm.sh
+3
-3
images/base.sh
images/base.sh
+1
-1
No files found.
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
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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