Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Tallero Tallero
archiso
Commits
74261924
Commit
74261924
authored
Jan 21, 2022
by
weltio weltio
Browse files
archlinux/archiso#163
parent
e2e4f3d6
Changes
1
Hide whitespace changes
Inline
Side-by-side
archiso/mkarchiso
View file @
74261924
...
...
@@ -1048,6 +1048,7 @@ _read_profile() {
.
"
${
profile
}
/profiledef.sh"
# Resolve paths of files that are expected to reside in the profile's directory
[[
-n
"
$arch
"
]]
||
arch
=
"
$(
uname
-m
)
"
[[
-n
"
$packages
"
]]
||
packages
=
"
${
profile
}
/packages.
${
arch
}
"
packages
=
"
$(
realpath
--
"
${
packages
}
"
)
"
pacman_conf
=
"
$(
realpath
--
"
${
pacman_conf
}
"
)
"
...
...
@@ -1155,7 +1156,6 @@ _set_overrides() {
fi
# Set variables that do not have overrides
[[
-n
"
$arch
"
]]
||
arch
=
"
$(
uname
-m
)
"
[[
-n
"
$airootfs_image_type
"
]]
||
airootfs_image_type
=
"squashfs"
[[
-n
"
$iso_name
"
]]
||
iso_name
=
"
${
app_name
}
"
}
...
...
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