From 15f0d1559085f00d577b901130a8bb23d072bebd Mon Sep 17 00:00:00 2001 From: Artem Bityutskiy Date: Tue, 31 Dec 2013 12:01:52 +0200 Subject: [PATCH] Add a commentary about the creator Add a "# Generated by $PROG" commentary to every generated file in order to make it easier for people to understand where various config files come from. Signed-off-by: Artem Bityutskiy --- setup-extlinux-conf | 1 + setup-gummiboot-conf | 2 ++ setup-ivi-fstab | 3 ++- 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/setup-extlinux-conf b/setup-extlinux-conf index 060d4fc..20e00c9 100755 --- a/setup-extlinux-conf +++ b/setup-extlinux-conf @@ -39,6 +39,7 @@ create_default_conf_file() mkdir -p $verbose "$conf_dir" >&2 cat > "$conf_file" <<-EOF + # Generated by $PROG ui vesamenu.c32 prompt 0 timeout 1 diff --git a/setup-gummiboot-conf b/setup-gummiboot-conf index dbd4dfc..7f19c6b 100755 --- a/setup-gummiboot-conf +++ b/setup-gummiboot-conf @@ -51,6 +51,7 @@ create_default_conf_file() mkdir -p $verbose "$conf_dir" >&2 cat > "$conf_file" <<-EOF + # Generated by $PROG timeout 0 default $1 EOF @@ -182,6 +183,7 @@ add_subcommand() # Create the new entry mkdir -p $verbose "$entries_dir" >&2 cat > "$entry_path" <<-EOF + # Generated by $PROG title $title version $kernel_version efi /$kernel diff --git a/setup-ivi-fstab b/setup-ivi-fstab index 01d32f7..8b67734 100755 --- a/setup-ivi-fstab +++ b/setup-ivi-fstab @@ -83,7 +83,8 @@ fi installerfw_verify_defined "INSTALLERFW_PART_COUNT" -contents="devpts /dev/pts devpts gid=5,mode=620 0 0 +contents="# Generated by $PROG +devpts /dev/pts devpts gid=5,mode=620 0 0 tmpfs /dev/shm tmpfs defaults 0 0 proc /proc proc defaults 0 0 sysfs /sys sysfs defaults 0 0" -- 2.7.4