diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/profile.sh | 9 | ||||
-rw-r--r-- | src/profile/proteanos.sh | 12 |
2 files changed, 17 insertions, 4 deletions
diff --git a/src/profile.sh b/src/profile.sh index b5e760e..de1213a 100644 --- a/src/profile.sh +++ b/src/profile.sh @@ -69,9 +69,10 @@ profile_detect() } for func in normalize_suite detect_arch default_plat select_mirror \ - validate_archplat feeds get_cert_url get_root_key dep_fields \ - include_pkg get_fstab file_systems_mounted bind_mount \ - bind_umount configure_system_native configure_system_foreign \ - find_kernel make_initramfs; do + validate_archplat opkg_state_dir opkg_conf_file feeds \ + get_cert_url get_root_key dep_fields include_pkg get_fstab \ + file_systems_mounted bind_mount bind_umount \ + configure_system_native configure_system_foreign find_kernel \ + make_initramfs; do eval "profile_${func}() { \"prof_\${profile}_${func}\" \"\${@}\"; }" done diff --git a/src/profile/proteanos.sh b/src/profile/proteanos.sh index 321f8cc..6991937 100644 --- a/src/profile/proteanos.sh +++ b/src/profile/proteanos.sh @@ -125,6 +125,18 @@ prof_proteanos_validate_archplat() return 1 } +prof_proteanos_opkg_state_dir() +{ + printf '/var/lib/opkg' + return 0 +} + +prof_proteanos_opkg_conf_file() +{ + printf '/etc/opkg/opkg.conf' + return 0 +} + prof_proteanos_feeds() { local mirror="${1}" |