platform/adaptation/setup-scripts.git
10 years agoAdd 'COPYING' file with the GPLv2 licens
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>
10 years agosetup-ivi-bootloader-conf: add a menu entry for OS cloning
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>
10 years agosetup-ivi-fstab: use correct case
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>
10 years agoUse -- some more
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>
10 years agosetup-ivi-sh-functions: introduce a newline variable
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>
10 years agoinstallerfw-sh-functions: save installer name too
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>
10 years ago*-environment: update environment variables
Artem Bityutskiy [Fri, 3 Jan 2014 12:03:11 +0000 (14:03 +0200)]
*-environment: update environment variables

10 years agoinstallerfw-sh-functions: fix installerfw_mnt_prefix
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>
10 years agoREADME: a small update
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>
10 years agoSearch for common files in /usr/share/setup-ivi too
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>
10 years agoinstallerfw-sh-functions: do not define mount prefix ourselves
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>
10 years agoFix installerfw environment save/restore
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>
10 years agoSource full path
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>
10 years agoAdd a commentary about the creator
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>
10 years agosetup-ivi-boot: create the fstab too
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>
10 years agosetup-ivi-fstab: a new script for creating /etc/fstab
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>
10 years ago*-environment: fix the FSOPTS variable
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>
10 years agosetup-ivi-boot: fix unconditional /etc sourcing
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>
10 years agoInitial commit
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>