summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick McDermott <patrick.mcdermott@libiquity.com>2019-07-15 21:29:48 (EDT)
committer Patrick McDermott <patrick.mcdermott@libiquity.com>2019-07-15 21:29:48 (EDT)
commit3ddf087836fa6bb1a8161488cca87dd9b7a875ec (patch)
tree6cf0e82fff5bf6b56f8c2a157f47e0d0bcaae1c2
parent7f204304bec8352276f6548143f8682b3f7b1782 (diff)
src/*/ppt-mkpkgs: Add generated file comments
-rw-r--r--changelog2
-rw-r--r--src/2/ppt-mkpkgs4
-rw-r--r--src/3/ppt-mkpkgs4
3 files changed, 10 insertions, 0 deletions
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 <patrick.mcdermott@libiquity.com> 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}),