meego-os-base:installer-shell.git
6 years agobackword master to the current v0.6 master
Chengwei Yang [Sat, 16 Jul 2011 10:20:42 +0000 (18:20 +0800)]
backword master to the current v0.6

6 years agoMerge branch 'master' of gitorious.org:meego-os-base/installer-shell
Chengwei Yang [Sat, 16 Jul 2011 10:17:56 +0000 (18:17 +0800)]
Merge branch 'master' of gitorious.org:meego-os-base/installer-shell

6 years agofix package clean
Chengwei Yang [Sat, 16 Jul 2011 07:13:12 +0000 (15:13 +0800)]
fix package clean

6 years agofix mtab as systemd expected
Chengwei Yang [Sat, 16 Jul 2011 07:11:11 +0000 (15:11 +0800)]
fix mtab as systemd expected

6 years agofix bootloader probe for extlinux
Chengwei Yang [Sat, 16 Jul 2011 07:09:59 +0000 (15:09 +0800)]
fix bootloader probe for extlinux

6 years agofix error partition boundary
Chengwei Yang [Sat, 16 Jul 2011 06:57:58 +0000 (14:57 +0800)]
fix error partition boundary

6 years agoMerge branch 'untouch-home-install'
Chengwei Yang [Thu, 14 Jul 2011 08:59:52 +0000 (16:59 +0800)]
Merge branch 'untouch-home-install'

6 years agoa little fix
Chengwei Yang [Thu, 14 Jul 2011 08:58:41 +0000 (16:58 +0800)]
a little fix

6 years agofix error partitioning boundary
Chengwei Yang [Thu, 14 Jul 2011 04:26:58 +0000 (12:26 +0800)]
fix error partitioning boundary

6 years agoguess the previous MeeGo partition first
Chengwei Yang [Thu, 14 Jul 2011 04:25:27 +0000 (12:25 +0800)]
guess the previous MeeGo partition first

6 years agomake ouput colorful, split do_select, wait_user_input, untouch HOME install
Chengwei Yang [Wed, 13 Jul 2011 13:12:08 +0000 (21:12 +0800)]
make ouput colorful, split do_select, wait_user_input, untouch HOME install

untouch HOME install is something like this:
It reuse all the partitions the previous MeeGo OS using and keep HOME
subvolume untouched, just install OS in / and /boot (liveimg only)

6 years agosplit wait_user_input from rollback
Chengwei Yang [Wed, 13 Jul 2011 05:49:55 +0000 (13:49 +0800)]
split wait_user_input from rollback

6 years agofix install bootloader
Chengwei Yang [Tue, 12 Jul 2011 08:45:17 +0000 (16:45 +0800)]
fix install bootloader

6 years agoMerge branch 'expand-extended-partition'
Chengwei Yang [Tue, 12 Jul 2011 07:38:47 +0000 (15:38 +0800)]
Merge branch 'expand-extended-partition'

6 years agoactive the new partition if we install bootloader
Chengwei Yang [Tue, 12 Jul 2011 07:38:11 +0000 (15:38 +0800)]
active the new partition if we install bootloader

6 years agofix install bootloader logic bug
Chengwei Yang [Tue, 12 Jul 2011 07:30:31 +0000 (15:30 +0800)]
fix install bootloader logic bug

6 years agoadd more interactive hints
Chengwei Yang [Tue, 12 Jul 2011 06:53:11 +0000 (14:53 +0800)]
add more interactive hints

6 years agoexpand extended partition and install bootloader or not
Chengwei Yang [Tue, 12 Jul 2011 06:10:26 +0000 (14:10 +0800)]
expand extended partition and install bootloader or not

if there is no enough free space in extended partition but it followed
by large free space, then we will expand extended partition to get
enough free space.
user can choose install bootloader or not when install meego at free
space, default behavior is install bootloader.

6 years agomount btrfs subvolume by name
Chengwei Yang [Tue, 12 Jul 2011 01:38:06 +0000 (09:38 +0800)]
mount btrfs subvolume by name

6 years agofix mount and live device recognize
Chengwei Yang [Fri, 8 Jul 2011 04:01:44 +0000 (12:01 +0800)]
fix mount and live device recognize

6 years agofix bugs
Yang Chengwei [Fri, 1 Jul 2011 07:19:29 +0000 (15:19 +0800)]
fix bugs

6 years agofix copy progress bar
Yang Chengwei [Fri, 1 Jul 2011 04:08:10 +0000 (12:08 +0800)]
fix copy progress bar

6 years agoclear old os probe
Yang Chengwei [Fri, 1 Jul 2011 03:17:14 +0000 (11:17 +0800)]
clear old os probe

6 years agofix install mode
Yang Chengwei [Fri, 1 Jul 2011 03:05:55 +0000 (11:05 +0800)]
fix install mode

6 years agoMerge branch 'integrated'
Yang Chengwei [Tue, 28 Jun 2011 08:22:00 +0000 (16:22 +0800)]
Merge branch 'integrated'

6 years agointegrated all bugfixes
Yang Chengwei [Tue, 28 Jun 2011 08:21:30 +0000 (16:21 +0800)]
integrated all bugfixes

6 years agoadd a fdisk function, suppress warning message
Yang Chengwei [Tue, 28 Jun 2011 07:08:56 +0000 (15:08 +0800)]
add a fdisk function, suppress warning message

6 years agorevision sfdisk wait and try again.
Yang Chengwei [Mon, 27 Jun 2011 09:15:58 +0000 (17:15 +0800)]
revision sfdisk wait and try again.

6 years agotrival fix
Yang Chengwei [Sun, 26 Jun 2011 07:17:45 +0000 (15:17 +0800)]
trival fix

6 years agofix
Yang Chengwei [Fri, 24 Jun 2011 15:56:04 +0000 (23:56 +0800)]
fix

6 years agoadd sfdisk_loop to handle device busy
Yang Chengwei [Fri, 24 Jun 2011 15:54:06 +0000 (23:54 +0800)]
add sfdisk_loop to handle device busy

6 years agobackport hotfixs
Yang Chengwei [Fri, 24 Jun 2011 14:11:26 +0000 (22:11 +0800)]
backport hotfixs

6 years agorun postscript files
Yang Chengwei [Fri, 24 Jun 2011 02:04:46 +0000 (10:04 +0800)]
run postscript files

6 years agobtrfs workaround, ssd detect, don't copy sample media
Yang Chengwei [Fri, 24 Jun 2011 01:55:44 +0000 (09:55 +0800)]
btrfs workaround, ssd detect, don't copy sample media

6 years agodon't reboot
Yang Chengwei [Mon, 20 Jun 2011 10:02:58 +0000 (18:02 +0800)]
don't reboot

if user get impatient, he may press many times before install
completion, that will confuses user.

6 years agobtrfs workaround
Yang Chengwei [Mon, 20 Jun 2011 10:00:12 +0000 (18:00 +0800)]
btrfs workaround

6 years agodelete space
Yang Chengwei [Mon, 20 Jun 2011 09:12:46 +0000 (17:12 +0800)]
delete space

6 years agofactory partition
Yang Chengwei [Mon, 20 Jun 2011 09:04:29 +0000 (17:04 +0800)]
factory partition

6 years agoMerge branch 'multi-boot-refactor'
Yang Chengwei [Mon, 20 Jun 2011 08:45:23 +0000 (16:45 +0800)]
Merge branch 'multi-boot-refactor'

6 years agosupport windows (need test)
Yang Chengwei [Mon, 20 Jun 2011 08:44:09 +0000 (16:44 +0800)]
support windows (need test)

6 years agofixed typo error
Yang Chengwei [Mon, 20 Jun 2011 08:32:32 +0000 (16:32 +0800)]
fixed typo error

6 years agofixed sfdisk failed
Yang Chengwei [Mon, 20 Jun 2011 08:14:26 +0000 (16:14 +0800)]
fixed sfdisk failed

if there is any parition not align to cylinder, sfdisk will failed
without force

6 years agochainload extlinux in other partition
Yang Chengwei [Mon, 20 Jun 2011 04:38:22 +0000 (12:38 +0800)]
chainload extlinux in other partition

6 years agorevision compress ratio to 0.5
Yang Chengwei [Mon, 20 Jun 2011 04:32:31 +0000 (12:32 +0800)]
revision compress ratio to 0.5

6 years agoMerge branch 'gpt-refactor'
Yang Chengwei [Mon, 20 Jun 2011 04:00:33 +0000 (12:00 +0800)]
Merge branch 'gpt-refactor'

Conflicts:
installer-shell

6 years agoMerge branch 'silent-warning-refactor'
Yang Chengwei [Mon, 20 Jun 2011 03:58:22 +0000 (11:58 +0800)]
Merge branch 'silent-warning-refactor'

6 years agoMerge branch 'oaktrail-btrfs-failed-refactor'
Yang Chengwei [Mon, 20 Jun 2011 03:56:37 +0000 (11:56 +0800)]
Merge branch 'oaktrail-btrfs-failed-refactor'

6 years agoset compress ratio to let copy progress more accuratedly
Yang Chengwei [Sat, 18 Jun 2011 02:49:21 +0000 (10:49 +0800)]
set compress ratio to let copy progress more accuratedly

6 years agosilent mode warning
Yang Chengwei [Sat, 18 Jun 2011 02:44:53 +0000 (10:44 +0800)]
silent mode warning

6 years agomulti-boot grub/extlinux
Yang Chengwei [Sat, 18 Jun 2011 02:33:01 +0000 (10:33 +0800)]
multi-boot grub/extlinux

6 years agobtrfs create filesystem failed
Yang Chengwei [Fri, 17 Jun 2011 09:05:40 +0000 (17:05 +0800)]
btrfs create filesystem failed

at first time, mkfs.btrfs will failed, after mkfs.ext3, mkfs.btrfs will
successful

6 years agogpt supports
Yang Chengwei [Fri, 17 Jun 2011 07:39:50 +0000 (15:39 +0800)]
gpt supports

6 years agofixed copy log
Yang Chengwei [Fri, 17 Jun 2011 06:35:28 +0000 (14:35 +0800)]
fixed copy log

6 years agorefactor installer-shell
Yang Chengwei [Fri, 17 Jun 2011 03:28:34 +0000 (11:28 +0800)]
refactor installer-shell

6 years agodon't get mtab from live environment
Yang Chengwei [Mon, 13 Jun 2011 07:46:16 +0000 (15:46 +0800)]
don't get mtab from live environment

6 years agoFixed install mode
Yang Chengwei [Thu, 9 Jun 2011 10:45:46 +0000 (18:45 +0800)]
Fixed install mode

6 years agoRun imagetype check after the check_and_choose device to make sure the system is...
vivian [Tue, 7 Jun 2011 23:22:17 +0000 (07:22 +0800)]
Run imagetype check after the check_and_choose device to make sure the system is all loaded and also check for /proc/cmdline (BMC #18709)

6 years agomount as ssd default
Yang Chengwei [Thu, 2 Jun 2011 09:56:51 +0000 (17:56 +0800)]
mount as ssd default

6 years agosupress error message when the device hasn't been format ever before
Yang Chengwei [Thu, 2 Jun 2011 08:56:13 +0000 (16:56 +0800)]
supress error message when the device hasn't been format ever before

6 years agoAdd the necessary fs to /etc/fstab
vivian [Sat, 28 May 2011 02:38:51 +0000 (10:38 +0800)]
Add the necessary fs to /etc/fstab

6 years agoRecreate the initrd based on the new fstab
vivian [Sat, 28 May 2011 02:38:03 +0000 (10:38 +0800)]
Recreate the initrd based on the new fstab

6 years agoFixed invalid user input bug
Yang Chengwei [Wed, 25 May 2011 06:27:01 +0000 (14:27 +0800)]
Fixed invalid user input bug

6 years agoFixed umount failed
Yang Chengwei [Wed, 25 May 2011 05:11:10 +0000 (13:11 +0800)]
Fixed umount failed

6 years agoAlign code for tablet
Yang Chengwei [Wed, 25 May 2011 04:15:21 +0000 (12:15 +0800)]
Align code for tablet

In MeeGo tablet image, kboot is the bootloader and it doesn't support
separate /boot partition, so we just merge /boot into / partition.

6 years agoChanged vertical to image type, it's more reliable.
Yang Chengwei [Tue, 24 May 2011 01:21:34 +0000 (09:21 +0800)]
Changed vertical to image type, it's more reliable.

6 years agoFixed a logic bug
Yang Chengwei [Tue, 24 May 2011 00:57:35 +0000 (08:57 +0800)]
Fixed a logic bug

In Advanced install mode, we shouldn't wait for user, just go ahead to
the next step

6 years agosome trivial fix
Yang Chengwei [Mon, 23 May 2011 11:51:02 +0000 (19:51 +0800)]
some trivial fix

6 years agoFixed umount issue
Yang Chengwei [Mon, 23 May 2011 09:48:11 +0000 (17:48 +0800)]
Fixed umount issue

This occurs sometimes, rootfs can't be umount and the contents vanished,
add persistent_umount to do persistent umount.

6 years agoAlign code to all MeeGo vertical
Yang Chengwei [Mon, 23 May 2011 08:48:37 +0000 (16:48 +0800)]
Align code to all MeeGo vertical

6 years agoAdd silent install mode
Yang Chengwei [Mon, 23 May 2011 07:57:00 +0000 (15:57 +0800)]
Add silent install mode

in silent install mode, installer-shell will use the first block device
and use the whole disk to install MeeGo.

6 years agoFix rsync, fail_exit.
Yang Chengwei [Mon, 23 May 2011 01:00:24 +0000 (09:00 +0800)]
Fix rsync, fail_exit.

6 years agoAdd OS probe, add partition rollback and etc.
Yang Chengwei [Sun, 22 May 2011 09:03:09 +0000 (17:03 +0800)]
Add OS probe, add partition rollback and etc.

Add OS probe, but this is just code hooks, though extlinux doesn't
support multi-boot yet.
Add partition rollback function before install.
Fix cp bug, don't copy /home/ and /boot twice, just copy /boot to /boot
partition, use rsync instead of cp.
Fix some code style, such as the output function style, comments style,
fail_exit style and etc.

6 years agoFixed swap tag, reuse swap partition
Yang Chengwei [Thu, 19 May 2011 03:29:51 +0000 (11:29 +0800)]
Fixed swap tag, reuse swap partition

Set correct swap tag, after this, we just reuse exist swap partition
rather than create a new one.

6 years agoFixed trucated log file by typo and partitioning
Yang Chengwei [Thu, 19 May 2011 02:43:05 +0000 (10:43 +0800)]
Fixed trucated log file by typo and partitioning

6 years agoFix indentation to use 1 style: ts=4, use tabs.
Auke Kok [Wed, 18 May 2011 13:56:24 +0000 (16:56 +0300)]
Fix indentation to use 1 style: ts=4, use tabs.

6 years agoUpdate bootable partition
Yang Chengwei [Wed, 18 May 2011 10:14:18 +0000 (18:14 +0800)]
Update bootable partition

After this fix, after install MeeGo in free space, it can boot
correctly.

6 years agoFixed a bug, LOGFILE is trucated by typo
Yang Chengwei [Wed, 18 May 2011 08:11:18 +0000 (16:11 +0800)]
Fixed a bug, LOGFILE is trucated by typo

6 years agoImplement install MeeGo in free space
Yang Chengwei [Wed, 18 May 2011 07:44:00 +0000 (15:44 +0800)]
Implement install MeeGo in free space

Add install MeeGo in free space and rollback, the policy is:
    1. use whole disk.
    2. use free space.
    3. free space is large enough.
    4. has no extended partition
4.1. if has 4 primary partitions, exit
4.2. create extended partition, and install MeeGo in the
extended partition
    5. has extended partition
5.1. find free space in extended partition and install
MeeGo in the extended partition
    7. last chance to rollback

6 years agoAdd device selection
Yang Chengwei [Tue, 17 May 2011 07:28:33 +0000 (15:28 +0800)]
Add device selection

use select and array to implement device selection, after that users
can choose one device to install meego other than just use the first
found one.

6 years agoFixed the installation progress blocked issue caused by user incorrect answer (BMC...
vivian [Fri, 13 May 2011 03:24:47 +0000 (11:24 +0800)]
Fixed the installation progress blocked issue caused by user incorrect answer (BMC #17381)

6 years agoAdd MMC device support (BMC 17340)
vivian [Fri, 13 May 2011 03:22:29 +0000 (11:22 +0800)]
Add MMC device support (BMC 17340)

6 years agoinitial commit for installer-shell-0.2
vivian [Fri, 13 May 2011 03:17:09 +0000 (11:17 +0800)]
initial commit for installer-shell-0.2