From 3ddf087836fa6bb1a8161488cca87dd9b7a875ec Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Mon, 15 Jul 2019 21:29:48 -0400 Subject: src/*/ppt-mkpkgs: Add generated file comments --- diff --git a/changelog b/changelog index d4bfa16..e072274 100644 --- a/changelog +++ b/changelog @@ -6,6 +6,8 @@ platconf-pkg-tools (3.0.0) trunk That is, limiting configuration files to specific upstream versions of configured packages is now optional, and the configuration file source tree is flatter. + * Generated package control files now have a comment stating: + "# Generated by ppt-mkpkgs. Do not edit." -- Patrick McDermott Mon, 15 Jul 2019 17:59:07 -0400 diff --git a/src/2/ppt-mkpkgs b/src/2/ppt-mkpkgs index 4bd49b1..80d65cd 100644 --- a/src/2/ppt-mkpkgs +++ b/src/2/ppt-mkpkgs @@ -17,6 +17,7 @@ make_common_pkg() # Make "-common" package to provide source package documentation files. mkdir -p "config-${PLAT}-common.pkg" cat >"config-${PLAT}-common.pkg/control" <<-EOF + # Generated by ppt-mkpkgs. Do not edit. Architecture: all Platform: all Description: "${PLAT}" platform configuration - common files @@ -31,6 +32,7 @@ make_base_pkg() # installed. mkdir -p "config-base.pkg" cat >"config-base.pkg/control" <<-EOF + # Generated by ppt-mkpkgs. Do not edit. Architecture: all Platform: ${PLAT} Essential: yes @@ -51,6 +53,7 @@ make_build_time_pkgs() pkg="${pkg#src/build/}" mkdir -p "config-${pkg}-${PLAT}.pkg" cat >"config-${pkg}-${PLAT}.pkg/control" <<-EOF + # Generated by ppt-mkpkgs. Do not edit. Architecture: all Platform: all Depends: config-${PLAT}-common (= \${Binary-Version}), @@ -72,6 +75,7 @@ make_run_time_pkgs() pkg="${pkg#src/run/}" mkdir -p "config-${pkg}.pkg" cat >"config-${pkg}.pkg/control" <<-EOF + # Generated by ppt-mkpkgs. Do not edit. Architecture: all Platform: ${PLAT} Depends: config-${PLAT}-common (= \${Binary-Version}), diff --git a/src/3/ppt-mkpkgs b/src/3/ppt-mkpkgs index 9594aea..20ee33f 100644 --- a/src/3/ppt-mkpkgs +++ b/src/3/ppt-mkpkgs @@ -17,6 +17,7 @@ make_common_pkg() # Make "-common" package to provide source package documentation files. mkdir -p "config-${PLAT}-common.pkg" cat >"config-${PLAT}-common.pkg/control" <<-EOF + # Generated by ppt-mkpkgs. Do not edit. Architecture: all Platform: all Description: "${PLAT}" platform configuration - common files @@ -31,6 +32,7 @@ make_base_pkg() # installed. mkdir -p "config-base.pkg" cat >"config-base.pkg/control" <<-EOF + # Generated by ppt-mkpkgs. Do not edit. Architecture: all Platform: ${PLAT} Essential: yes @@ -53,6 +55,7 @@ make_build_time_pkgs() pkg="${pkg_ver%_*}" mkdir -p "config-${pkg}-${PLAT}.pkg" cat >"config-${pkg}-${PLAT}.pkg/control" <<-EOF + # Generated by ppt-mkpkgs. Do not edit. Architecture: all Platform: all Depends: config-${PLAT}-common (= \${Binary-Version}), @@ -74,6 +77,7 @@ make_run_time_pkgs() pkg="${pkg#src/run/}" mkdir -p "config-${pkg}.pkg" cat >"config-${pkg}.pkg/control" <<-EOF + # Generated by ppt-mkpkgs. Do not edit. Architecture: all Platform: ${PLAT} Depends: config-${PLAT}-common (= \${Binary-Version}), -- cgit v0.9.1