Mnemosyne is a abstract distribution originally designed for ROCKLinux, but currently only support the trunk of OpenSDE.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

48 lines
1.5 KiB

  1. # --- SDE-COPYRIGHT-NOTE-BEGIN ---
  2. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  3. #
  4. # Filename: target/mnemosyne/pkg_conf/busybox.conf
  5. # Copyright (C) 2008 - 2009 The OpenSDE Project
  6. # Copyright (C) 2002 - 2006 Alejandro Mery
  7. #
  8. # More information can be found in the files COPYING and README.
  9. #
  10. # This program is free software; you can redistribute it and/or modify
  11. # it under the terms of the GNU General Public License as published by
  12. # the Free Software Foundation; version 2 of the License. A copy of the
  13. # GNU General Public License can be found in the file COPYING.
  14. # --- SDE-COPYRIGHT-NOTE-END ---
  15. BB_MNEMOSYNE_DIR="$base/target/$SDECFG_TRG_MNEMOSYNE/pkg_conf/busybox"
  16. bb_mnemosyne_append()
  17. {
  18. local x= y=
  19. for x; do
  20. # busybox config settings
  21. y="$BB_MNEMOSYNE_DIR/$x.config"
  22. [ ! -s "$y" ] || var_append conffiles ' ' "$y"
  23. done
  24. }
  25. # mnemosyne generics
  26. bb_mnemosyne_append mnemosyne
  27. case "$SDECFG_TRG_MNEMOSYNE_FOOTPRINT" in
  28. embedded)
  29. bb_mnemosyne_append embedded
  30. if [ "$SDECFG_TRG_MNEMOSYNE_BOOT" != 'vserver' ]; then
  31. [ "$SDECFG_TRG_MNEMOSYNE_NETWORK" = 1 ] && bb_mnemosyne_append network
  32. [ "$SDECFG_TRG_MNEMOSYNE_KERNEL" = 'linux' ] && bb_mnemosyne_append linux
  33. fi
  34. ;;
  35. esac
  36. [ "$SDECFG_TRG_MNEMOSYNE_EMBEDDED_INIT" = 1 ] && bb_mnemosyne_append init
  37. [ "$SDECFG_TRG_MNEMOSYNE_DHCP" = "udhcp" ] && bb_mnemosyne_append udhcpc
  38. pkginstalled util-linux util-linux-ng || bb_mnemosyne_append util-linux
  39. unset bb_mnemosyne_append
  40. unset BB_MNEMOSYNE_DIR