From: Artem Bityutskiy Date: Tue, 31 Dec 2013 10:01:52 +0000 (+0200) Subject: Add a commentary about the creator X-Git-Tag: accepted/tizen/common/20140814.150828~26 X-Git-Url: http://review.tizen.org/git/?p=platform%2Fadaptation%2Fsetup-scripts.git;a=commitdiff_plain;h=15f0d1559085f00d577b901130a8bb23d072bebd 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 --- 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"