Skip to content

Commit 9bd45c8

Browse files
committed
[fix] : Fixed the order to copy airootfs
1 parent 9b5e4fd commit 9bd45c8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

build.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -620,8 +620,8 @@ make_customize_airootfs() {
620620
# Overwrite airootfs with customize_airootfs.
621621
local _airootfs _airootfs_script_options _script _script_list _airootfs_list _main_script
622622

623-
_airootfs_list=("${channel_dir}/airootfs.${arch}" "${channel_dir}/airootfs.any")
624-
for_module '_airootfs_list+=("${module_dir}/{}/airootfs.${arch}" "${module_dir}/{}/airootfs.any")'
623+
_airootfs_list=("${channel_dir}/airootfs.any" "${channel_dir}/airootfs.${arch}")
624+
for_module '_airootfs_list=("${module_dir}/{}/airootfs.any" "${module_dir}/{}/airootfs.${arch}" ${_airootfs_list[@]})'
625625

626626
for _airootfs in ${_airootfs_list[@]};do
627627
if [[ -d "${_airootfs}" ]]; then

0 commit comments

Comments
 (0)