File tree Expand file tree Collapse file tree 1 file changed +16
-0
lines changed
Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -1226,6 +1226,21 @@ make_prepare() {
12261226 fi
12271227}
12281228
1229+ # Add files to the root of isofs
1230+ make_overisofs () {
1231+ local _copy_isofs
1232+
1233+ _copy_isofs () {
1234+ local _dir=" ${1%/ } "
1235+ [[ -d " ${_dir} " ]] && cp -af " ${_dir} " /* " ${isofs_dir} "
1236+ }
1237+
1238+ _copy_isofs " ${script_path} /channels/share/over_isofs.any"
1239+ _copy_isofs " ${script_path} /channels/share/over_isofs.${arch} "
1240+ _copy_isofs " ${channel_dir} /over_isofs.any"
1241+ _copy_isofs " ${channel_dir} /over_isofs.${arch} "
1242+ }
1243+
12291244# Build ISO
12301245make_iso () {
12311246 ${mkalteriso} ${mkalteriso_option} -w " ${work_dir} " -D " ${install_dir} " -L " ${iso_label} " -P " ${iso_publisher} " -A " ${iso_application} " -o " ${out_dir} " iso " ${iso_filename} "
@@ -1540,6 +1555,7 @@ if [[ "${noiso}" = false ]]; then
15401555 run_once make_boot
15411556 run_once make_prepare
15421557 run_once make_boot_extra
1558+ run_once make_overisofs
15431559 if [[ " ${noefi} " = false ]]; then
15441560 run_once make_efi
15451561 run_once make_efiboot
You can’t perform that action at this time.
0 commit comments