summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
Artem Bityutskiy [Fri, 14 Feb 2014 16:20:03 +0000 (18:20 +0200)]
installerfw-sh-functions: do not omit the last line
When we are restoring the installer-framework environment in the
'installerfw_restore_env()', we read the '/etc/installerfw-environment' file
line-by line, and export variables.
However, if the last line does not contain the newline character, we ignore it.
So we miss the last variable and do not export it.
This patch fixes the problem, which also fixes TIVI-2652.
Change-Id: I47f560e32a6951b492b0e430a769c4dfc29e5cb5
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Artem Bityutskiy [Fri, 14 Feb 2014 16:01:58 +0000 (18:01 +0200)]
installerfw-sh-functions: add missing newlines
Make sure the /etc/installerfw-environment contains the newline character at
the end. It is reasonable to expect the newline character at the end of text
files.
Additionally, fix code which calculates the lines count. We forgot the newline
character, which will make 'wc -l' return an off-by-one number.
Change-Id: I0e8f36f2be8e7b31a21ce1c6449bf23bb4f9d238
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Artem Bityutskiy [Fri, 31 Jan 2014 14:42:12 +0000 (16:42 +0200)]
packaging: update the changelog
Change-Id: I08b8e581d83420251331d9234bb9d56745d26c42
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Artem Bityutskiy [Fri, 31 Jan 2014 14:37:46 +0000 (16:37 +0200)]
README: add some more shell coding wisdom
Change-Id: Ieef51328e79dee318979bf7267623011d4fbd1ac
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Mikko Ylinen [Fri, 31 Jan 2014 12:52:38 +0000 (14:52 +0200)]
setup-ivi-bootloader-conf: gummiboot: create a splash enabled entry
To support fastboot and 'flickerless' boot testing, create a
gummiboot entry that draws a splash image to the screen.
Additionally, disable fbcon for that kernel entry.
Change-Id: I25c338efbe9560b67393a8f5b23c26e1e384b729
Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
Mikko Ylinen [Fri, 31 Jan 2014 11:25:25 +0000 (13:25 +0200)]
setup-gummiboot-conf: add splash file support
The latest gummiboot supports splash image loading. Each loader
entry can specify the splash image to load using 'splash' parameter.
Add a new option to the script to enable callers to generate splash
enabled entries.
Change-Id: I5c2d997aad869455c9fec9695e5b3664525a89bd
Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
Artem Bityutskiy [Fri, 3 Jan 2014 12:04:58 +0000 (14:04 +0200)]
Implement setup-ivi-clone
Change-Id: I88c149fe892a25a0a3f03216d1c1c7c34d7e5478
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Artem Bityutskiy [Wed, 15 Jan 2014 10:17:51 +0000 (12:17 +0200)]
Add 'COPYING' file with the GPLv2 licens
Change-Id: I5b8885759b1dc4f9c3a383aa1cdd74ee41d50498
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Artem Bityutskiy [Tue, 7 Jan 2014 13:31:49 +0000 (15:31 +0200)]
setup-ivi-bootloader-conf: add a menu entry for OS cloning
Change-Id: I139deaae995d643e63fd997da0cee502cc3822af
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Artem Bityutskiy [Fri, 3 Jan 2014 17:23:26 +0000 (19:23 +0200)]
setup-ivi-fstab: use correct case
Apparently, mount is case-sensitive. The UUID for normal file-systems like ext4
must be lower case, just like it is in /dev/disk/by-uuid/. But the short FAT-FS
ID has to be all-capitals. Take this into account in 'setup-ivi-fstab'.
Also add a couple more checks to make sure the installer framework variables
that we use exist.
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Artem Bityutskiy [Fri, 3 Jan 2014 12:16:54 +0000 (14:16 +0200)]
Use -- some more
Change-Id: I84101a845a725a71bb626e9369b68e95663354ed
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Artem Bityutskiy [Fri, 3 Jan 2014 15:15:57 +0000 (17:15 +0200)]
setup-ivi-sh-functions: introduce a newline variable
... which is handy.
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Artem Bityutskiy [Fri, 3 Jan 2014 12:04:28 +0000 (14:04 +0200)]
installerfw-sh-functions: save installer name too
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Artem Bityutskiy [Fri, 3 Jan 2014 12:03:11 +0000 (14:03 +0200)]
*-environment: update environment variables
Artem Bityutskiy [Thu, 2 Jan 2014 15:46:33 +0000 (17:46 +0200)]
installerfw-sh-functions: fix installerfw_mnt_prefix
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Artem Bityutskiy [Thu, 2 Jan 2014 14:19:04 +0000 (16:19 +0200)]
README: a small update
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Artem Bityutskiy [Thu, 2 Jan 2014 05:47:52 +0000 (07:47 +0200)]
Search for common files in /usr/share/setup-ivi too
Change-Id: If1c3f9f21907130e6688840c59e311f9681c3134
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Artem Bityutskiy [Wed, 1 Jan 2014 14:51:17 +0000 (16:51 +0200)]
installerfw-sh-functions: do not define mount prefix ourselves
Change-Id: If577be871295e25b211e58d7b8e70ee53c52f54a
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Artem Bityutskiy [Wed, 1 Jan 2014 14:23:22 +0000 (16:23 +0200)]
Fix installerfw environment save/restore
Change-Id: I39edcdf6571b19f423f48adfe439ed11f2df1379
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Artem Bityutskiy [Wed, 1 Jan 2014 14:10:08 +0000 (16:10 +0200)]
Source full path
I do not know why, but in a Tizen IVI chroot environment sourcing does not work
unless the full path is specified.
Change-Id: Ia938d0d71d70b2512fd679b859f9318b203ae69d
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Artem Bityutskiy [Tue, 31 Dec 2013 10:01:52 +0000 (12:01 +0200)]
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 <artem.bityutskiy@linux.intel.com>
Artem Bityutskiy [Mon, 30 Dec 2013 16:39:28 +0000 (18:39 +0200)]
setup-ivi-boot: create the fstab too
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Artem Bityutskiy [Mon, 30 Dec 2013 16:37:21 +0000 (18:37 +0200)]
setup-ivi-fstab: a new script for creating /etc/fstab
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Artem Bityutskiy [Mon, 30 Dec 2013 16:36:55 +0000 (18:36 +0200)]
*-environment: fix the FSOPTS variable
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Artem Bityutskiy [Mon, 30 Dec 2013 16:34:20 +0000 (18:34 +0200)]
setup-ivi-boot: fix unconditional /etc sourcing
The setup-ivi-boot script unconditionally read the contents of
/etc/installerfw-environment, which is wrong, because it should not do this if
the environment already contains the "INSTALLERFW_*" variables. This patch
fixes the issue.
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Artem Bityutskiy [Thu, 19 Dec 2013 12:02:11 +0000 (14:02 +0200)]
Initial commit
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>