summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
William Douglas [Tue, 30 Jul 2013 18:05:29 +0000 (11:05 -0700)]
Create or overwrite on first write to installer.conf
Ensure that there isn't anything left over in the installer.conf file
before the installer-conf-creator script runs by not using append for
the first write.
This removes implicit assumption that there is not a installer.conf
in place before the installer-conf-creator script runs making things
a little safer.
Signed-off-by: William Douglas <william.douglas@intel.com>
William Douglas [Tue, 30 Jul 2013 17:54:24 +0000 (10:54 -0700)]
Quote all variables when creating installer.conf
Instead of selectively quoting only variables that are expected to
contain whitespace, quote all variables as there are not downsides
for quoting with our use case as this is safer and makes the code
cleaner.
Signed-off-by: William Douglas <william.douglas@intel.com>
William Douglas [Tue, 30 Jul 2013 17:05:50 +0000 (10:05 -0700)]
Use /bin/sh since we don't need bash features
Also add options for disabling pathname expansion and exit
immediately if an untested expression fails.
Note we do not set -u as we expect to use unset variables as MIC is
not setting every INSTALLERFW_* variable correctly but this may be
changed in the future.
Signed-off-by: William Douglas <william.douglas@intel.com>
William Douglas [Thu, 25 Jul 2013 19:41:22 +0000 (12:41 -0700)]
quote vars that may contain spaces
Signed-off-by: William Douglas <william.douglas@intel.com>
William Douglas [Tue, 23 Jul 2013 20:00:29 +0000 (13:00 -0700)]
Add script to export installer variables from MIC
This script is intended to be run in MIC %post section so that the
installer will be able to use the same settings as image creation did
to setup the target device's partition, bootloader, and filesystem
types.
Signed-off-by: William Douglas <william.douglas@intel.com>
Anas Nashif [Fri, 19 Jul 2013 18:16:09 +0000 (14:16 -0400)]
remove ivi/pc hardcoding
- We now rely on one single configuration file that can be set
when creating images.
- Added option -a to make it work with plymouth when called from
systemd
- renamed pc-installer -> system-installer
- Cleanup spec
Change-Id: I043cd63675cc455f5f2b7d1c207841d403effbb7
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
Manish Sinha [Tue, 23 Jul 2013 00:44:03 +0000 (17:44 -0700)]
Move the partition logic to GNU parted
Changes
* The partition now depends on parted instead of sfdisk
* The partition table is now gpt instead of msdos
* The exit $RETVAL is removed to avoid sciprt exiting after
finding the partitions
Manish Sinha [Mon, 24 Jun 2013 20:48:31 +0000 (13:48 -0700)]
Make pc-installer work for IVI images which use raw image instead of squashfs
Changes
* Check if the image if PC, then use btrfs ignoring any config file
* If it is not a PC image, try to read the installer.conf file to check the existence of
FILESYSTEM=somefs
* If none work, then try checking what all filesystems are supported by
installer and the kernel
* Use full /sbin/sfdisk -when installing IVI images, sfdisk cannot be found error
* Create btrfs subvolume only if the filesystem is btrfs
* For squashfs image is not present, then SRCOSMNT as /
* Exclude /media/* from rsync as during IVI, it leads to infinite recursive copy
* Exclude other temporary mount points for virtual filesystems
* Put rootflags=subvol=tizen in extlinux.conf only if it is a PC image
* IVI does not have initramfs, so copy that file only if it is a PC image
* vmlinuz* matches multiple files, so copying it to one single file won't work. Copy
all the files and then rename vmlinuz to vmlinuz0
* Replace extlinux with /sbin/extlinux
* sync the filesystem before unmount and not after
* Use echo when plymouth isn't available
Signed-off-by: Manish Sinha <manish.sinha@intel.com>
Change-Id: I605e35b1a101d92735e6b5465b24291f382f11a8
Ryan Ware [Mon, 8 Jul 2013 16:37:04 +0000 (09:37 -0700)]
Merge "resetting manifest requested domain to floor" into tizen
Alexandru Cornea [Mon, 1 Jul 2013 18:36:12 +0000 (21:36 +0300)]
resetting manifest requested domain to floor
Michael I Doherty [Mon, 1 Jul 2013 14:04:23 +0000 (15:04 +0100)]
Do not use compression flag when performing rsync
William Douglas [Tue, 25 Jun 2013 16:48:33 +0000 (09:48 -0700)]
changelog
Signed-off-by: William Douglas <william.douglas@intel.com>
William Douglas [Fri, 21 Jun 2013 19:08:18 +0000 (12:08 -0700)]
Create an initial factory default snapshot
Add an inital snapshot after files have been installed to the target
device using snapper.
Change-Id: I452818b88c4cb174e65ff4110e707e7ed80a929c
Signed-off-by: William Douglas <william.douglas@intel.com>
Michael I Doherty [Wed, 19 Jun 2013 14:48:48 +0000 (15:48 +0100)]
Ensure that the boot and shutdown are quiet by using splash=silent
William Douglas [Tue, 18 Jun 2013 21:41:10 +0000 (14:41 -0700)]
changelog
Signed-off-by: William Douglas <william.douglas@intel.com>
William Douglas [Thu, 6 Jun 2013 19:21:07 +0000 (12:21 -0700)]
Fix typo
Signed-off-by: William Douglas <william.douglas@intel.com>
William Douglas [Fri, 31 May 2013 19:43:34 +0000 (12:43 -0700)]
Use the swap partition.
While we were creating a partition to be used for swap, it was not
actually getting formatted or mounted.
Also since we are using swap for hibernate make sure to add resume
from the swap partition to the syslinux config file.
Signed-off-by: William Douglas <william.douglas@intel.com>
William Douglas [Tue, 14 May 2013 23:07:31 +0000 (16:07 -0700)]
changelog
Signed-off-by: William Douglas <william.douglas@intel.com>
William Douglas [Tue, 14 May 2013 21:21:36 +0000 (14:21 -0700)]
Update the plymouth theme after install
Once Tizen has been installed change the plymouth theme to be the
boot and update version.
Signed-off-by: William Douglas <william.douglas@intel.com>
William Douglas [Mon, 15 Apr 2013 22:12:15 +0000 (15:12 -0700)]
Remove old snapshots subvolume creation.
Also reword the instructions for rebooting after install.
Signed-off-by: William Douglas <william.douglas@intel.com>
Nashif, Anas [Fri, 12 Apr 2013 09:10:11 +0000 (02:10 -0700)]
Merge "Update snapshots location for snapper"
William Douglas [Wed, 10 Apr 2013 13:41:26 +0000 (06:41 -0700)]
Update snapshots location for snapper
Signed-off-by: William Douglas <william.douglas@intel.com>
William Douglas [Wed, 10 Apr 2013 13:41:26 +0000 (06:41 -0700)]
update snapshots location for snapper
Signed-off-by: William Douglas <william.douglas@intel.com>
Patrick McCarty [Wed, 6 Mar 2013 22:33:19 +0000 (14:33 -0800)]
Depend on the new btrfs-progs instead
Change-Id: If721abf35a0f9e6c97cc64a5047fb817a647d4c5
William Douglas [Thu, 21 Feb 2013 20:22:57 +0000 (12:22 -0800)]
Create btrfs filesystem on install
Have the rootfs be created as a btrfs partition. Also create two
subvolumes, one to host the tizen install and one to host the tizen
subvolume snapshots. The installer will set the tizen subvolume as
the default subvolume and take a snapshot of it after install.
Oh and fix reboot not working right.
Signed-off-by: William Douglas <william.douglas@intel.com>
Anas Nashif [Wed, 20 Feb 2013 02:26:47 +0000 (18:26 -0800)]
Reboot at end of installation process
Anas Nashif [Wed, 20 Feb 2013 02:26:19 +0000 (18:26 -0800)]
reboot when rR are pressed
Anas Nashif [Wed, 20 Feb 2013 02:23:21 +0000 (18:23 -0800)]
Do not use initrd on installed system
Anas Nashif [Wed, 20 Feb 2013 02:22:58 +0000 (18:22 -0800)]
No need for initrd when installed
William Douglas [Thu, 31 Jan 2013 22:53:57 +0000 (14:53 -0800)]
Update default kernel boot path.
We create a symlink from our default kernel to /boot/vmlinuz so use that
as the kernel boot target.
Signed-off-by: William Douglas <william.douglas@intel.com>
Anas Nashif [Wed, 19 Dec 2012 18:49:04 +0000 (10:49 -0800)]
fixed plymouth messages
Anas Nashif [Wed, 19 Dec 2012 18:48:46 +0000 (10:48 -0800)]
fixed plymouth messages
Anas Nashif [Wed, 19 Dec 2012 17:57:56 +0000 (09:57 -0800)]
add changelog
Anas Nashif [Wed, 19 Dec 2012 17:31:30 +0000 (09:31 -0800)]
add requirements
Anas Nashif [Wed, 19 Dec 2012 17:31:16 +0000 (09:31 -0800)]
add requirements
Anas Nashif [Wed, 19 Dec 2012 17:30:24 +0000 (09:30 -0800)]
add plymouth message
Anas Nashif [Wed, 19 Dec 2012 17:29:08 +0000 (09:29 -0800)]
add plymouth message
Anas Nashif [Wed, 19 Dec 2012 16:16:00 +0000 (08:16 -0800)]
fixed shell call
Anas Nashif [Wed, 19 Dec 2012 15:52:23 +0000 (07:52 -0800)]
fixed menu
Anas Nashif [Wed, 19 Dec 2012 14:45:30 +0000 (06:45 -0800)]
add packaging
Anas Nashif [Wed, 19 Dec 2012 14:44:48 +0000 (06:44 -0800)]
add packaging
Anas Nashif [Wed, 19 Dec 2012 14:42:37 +0000 (06:42 -0800)]
add packaging
Anas Nashif [Wed, 19 Dec 2012 14:24:31 +0000 (06:24 -0800)]
add packaging
Anas Nashif [Wed, 19 Dec 2012 14:22:39 +0000 (06:22 -0800)]
add packaging
Anas Nashif [Sat, 24 Nov 2012 05:18:15 +0000 (21:18 -0800)]
initial