diff options
Diffstat (limited to 'src/2')
-rw-r--r-- | src/2/ppt-mkpkgs | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/2/ppt-mkpkgs b/src/2/ppt-mkpkgs index b114a74..c820b0e 100644 --- a/src/2/ppt-mkpkgs +++ b/src/2/ppt-mkpkgs @@ -9,6 +9,7 @@ main() PLAT="$(sed '1{s/^config-\([^ ][^ ]*\) (.*$/\1/;};1!q;' changelog)" make_common_pkg + make_base_pkg make_build_time_pkgs make_run_time_pkgs } @@ -34,6 +35,22 @@ make_common_pkg() info 'Metadata for package "%s" generated.' "config-${PLAT}-common" } +make_base_pkg() +{ + # Make a "config-base" package to depend on packages to be automatically + # installed. + mkdir -p "config-base.pkg" + cat >"config-base.pkg/control" <<-EOF + Architecture: all + Platform: ${PLAT} + Essential: yes + Depends: config-${PLAT}-common (= \${Binary-Version}), + \${Base-Depends} + Description: "${PLAT}" platform configuration - base package + EOF + info 'Metadata for package "%s" generated.' "config-base" +} + make_build_time_pkgs() { local pkg= |