Skip to content

Commit 4c88558

Browse files
committed
[remove] : packages_file function
1 parent e189c79 commit 4c88558

File tree

1 file changed

+0
-31
lines changed

1 file changed

+0
-31
lines changed

build.sh

Lines changed: 0 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -669,36 +669,6 @@ make_packages() {
669669
${mkalteriso} ${mkalteriso_option} -w "${work_dir}/${arch}" -C "${work_dir}/pacman-${arch}.conf" -D "${install_dir}" -p "${_pkglist[*]}" install
670670
}
671671

672-
# Additional packages (airootfs)
673-
make_packages_file() {
674-
set +e
675-
#local _loadfilelist _pkg _file _excludefile _excludelist _pkglist
676-
677-
#-- Detect package list to load --#
678-
# Add the files for each channel to the list of files to read.
679-
#_loadfilelist=(
680-
# $(ls ${channel_dir}/packages.${arch}/*.${arch} 2> /dev/null)
681-
# ${channel_dir}/packages.${arch}/lang/${locale_name}.${arch}
682-
# $(ls "${script_path}"/channels/share/packages.${arch}/*.${arch} 2> /dev/null)
683-
# "${script_path}"/channels/share/packages.${arch}/lang/${locale_name}.${arch}
684-
#)
685-
686-
#ls "${channel_dir}/package_files.${arch}/*.pkg.*" > /dev/null 2>&1
687-
# Install packages on airootfs
688-
#if [ $? -ne 0 ]; then
689-
# :
690-
#else
691-
${mkalteriso} ${mkalteriso_option} -w "${work_dir}/${arch}" -C "${work_dir}/pacman-${arch}.conf" -D "${install_dir}" -p "${channel_dir}/package_files.${arch}/*.pkg.*" install_file
692-
#fi
693-
#ls "${share_dir}/package_files.${arch}/*.pkg.*" > /dev/null 2>&1
694-
#if [ $? -ne 0 ]; then
695-
# :
696-
#else
697-
${mkalteriso} ${mkalteriso_option} -w "${work_dir}/${arch}" -C "${work_dir}/pacman-${arch}.conf" -D "${install_dir}" -p "${share_dir}/package_files.${arch}/*.pkg.*" install_file
698-
#fi
699-
set -e
700-
}
701-
702672
make_packages_aur() {
703673
local _pkg pkglist_aur=($("${script_path}/tools/pkglist.sh" --aur -a "${arch}" -k "${kernel}" -c "${channel_dir}" -l "${locale_name}" $(if [[ "${boot_splash}" = true ]]; then echo -n "-b"; fi) ))
704674

@@ -1374,7 +1344,6 @@ show_settings
13741344
run_once make_pacman_conf
13751345
run_once make_basefs
13761346
run_once make_packages
1377-
#run_once make_packages_file
13781347
[[ "${noaur}" = false ]] && run_once make_packages_aur
13791348
run_once make_customize_airootfs
13801349
run_once make_setup_mkinitcpio

0 commit comments

Comments
 (0)