Age | Commit message (Collapse) | Author | Files | Lines |
|
Change-Id: I46c35dda14da4b5943339a3a18a03beb56780e5b
Signed-off-by: biao716.wang <biao716.wang@samsung.com>
|
|
Change-Id: I929aa3c676c041e6ab361c3b6dd5a2613ed6cd0d
Signed-off-by: biao716.wang <biao716.wang@samsung.com>
|
|
Change-Id: I6aa8025c850312f6a03f446f7876310900b277da
|
|
Change-Id: Ib5038a0f9bbf09b4f6daa20cb5782337a36e54ca
|
|
Change-Id: I0919283e5f717d58e64afa708207bd2d767787eb
|
|
Kickstart file now may have section for environment variables setup.
Section should look like
%env
VARIABLE1=0x1000
VARIABLE2="value"
%end
This environment is set up for mic process and propagated into child processes
during firmware build.
Change-Id: Ida45e768781faf277438e3fb591d9bd931a09a1f
Signed-off-by: Slava Barinov <v.barinov@samsung.com>
|
|
Change-Id: I9e4e5d7275a20a1663ac8eef29d1a33f7b6feb5a
|
|
Change-Id: I0ef3de0c99f23a971b4a862cce2ed38c5fc65a4b
|
|
Change-Id: Ic050afa2972196ea5d5b21a650c399b7277317e4
|
|
This reverts commit c2b1299800f0f1f8cd4794fc5e55bdc20e35721d.
Change-Id: Id9308c18a70de32cb781091f999bb39715bdc55a
|
|
Change-Id: Ia4dd2ce506e0076a7d6470a3cffeebbd80c09240
|
|
Change-Id: I52427a52df78dbb27b6a2036d548b128b1485e6e
|
|
Change-Id: I6cfd6e09f8565bae074fe5736a4298fea2461a9d
|
|
specified in ks file env['LANG'] = 'language in ks' env['LC_ALL'] = 'language in ks'
Change-Id: I8ce8930455af4ae0c6f3482e9c12a74194da02f8
|
|
Change-Id: I1f2f15e1fbaed476202c03b2f092a97f14358486
|
|
as root name.
Change-Id: I6ceb8cf1d0a5f534ec533edadd5218a0b7ffd05d
|
|
If vdfs creation process exit with failure (EXIT_FAILURE), it should be checked.
Because it could cause malformed vdfs image creation.
In this patch, we added checking code of exit status.
Change-Id: I5aae6a8cb6de0b4dcf2dc1f9e27ee6139b26f918
Signed-off-by: Jungseung Lee <js07.lee@samsung.com>
|
|
Change-Id: I331fd138b92656698bdca6f8d8265f4193f3b9b3
|
|
Change-Id: Ic286b0c43dd9fb376ab643170e9a3387156c4d96
|
|
https://review.tizen.org/gerrit/gitweb?p=platform/upstream/util-linux.git;a=blob;f=sys-utils/losetup1.c;h=059832de3a218f854746ef5bdeb1583a98acae19;hb=9a6b29405679d6d7b4cafd19a6fc7bb07ee14938#l1182
Change-Id: I5e54549ec2a742c187ac25d81a4052b18d71a697
Signed-off-by: Dohyung Kim <dohyung2.kim@samsung.com>
|
|
To set blocksize by parsing "-b [BLOCKSIZE]" from extoptions in ks file
Change-Id: I0328cdae59a3466bde4d9a3bccb22026118544a1
Signed-off-by: Dohyung Kim <dohyung2.kim@samsung.com>
|
|
Change-Id: I7b50e83cc8b1294f1d9b524ffbd69769eebd914b
|
|
Change-Id: Ic9072e9e159fb3a4de7714b7d5ea0db69f02dc77
|
|
Added enviorment veriables to access attachment files and image directory from ks post script.
- ATTACHMENT_PATHS: attachemt file paths
- IMG_DIR_PATH: a directory path located image files
Change-Id: Ia3f409ec8b9c784dba8d5b0baee9b6d9dada3baf
Signed-off-by: Dohyung Kim <dohyung2.kim@samsung.com>
|
|
This reverts commit 7db9b0c91a5b26f96a86ec10dfad261a7d781f3b.
Change-Id: Iaa242d65fd7fb14c379fff0f268ac1607005169e
|
|
Change-Id: I7340bb2cbd256a2f33ed082e29507e99a289ead5
|
|
AS-IS:
$ sudo mic cr loop PLATFORM.ks --release SNAPSHOT --pack-to IMAGENAME.tar.gz
IMAGENAME.tar.gz
IMAGENAME.xml
SNAPSHOT-PLATFORM.packages
SNAPSHOT-PLATFORM.files
SNAPSHOT-PLATFORM.license
SNAPSHOT-PLATFORM.ks
...
TO-BE:
$ sudo mic cr loop PLATFORM.ks --release SNAPSHOT --pack-to IMAGENAME.tar.gz
IMAGENAME.tar.gz
IMAGENAME.xml
IMAGENAME.packages
IMAGENAME.files
IMAGENAME.license
IMAGENAME.ks
...
Change-Id: I5cc148a09b3e4cc4ed863100f0fde4df362038cd
Signed-off-by: Dohyung Kim <dohyung2.kim@samsung.com>
|
|
- add %post-umount section which behaves the same as %runscript
(if both %runscript and %post-umount are defined then KickstartError occurs)
- move post umount scripts from /var/tmp/post_umount_scripts/ on image to host
- post umount scripts can be use UMOUNT_SCRIPTS_PATH env variable
(UMOUNT_SCRIPTS_PATH: directory path where post umount scripts are located on host)
Change-Id: Ib88c103f0d3e84c067d0d6683f406a5cac92739a
Signed-off-by: Dohyung Kim <dohyung2.kim@samsung.com>
|
|
use mic in bootstrap without copy host mic to bootstrap.
by default, copy host mic to bootstrap and use it
Change-Id: I3f4f03cc666df05ad4a7c393b771a2487350b9fe
Signed-off-by: Dohyung Kim <dohyung2.kim@samsung.com>
|
|
Change-Id: I66ed6a999b20c94238e7fdc29ee68782ab4cd241
Signed-off-by: Dohyung Kim <dohyung2.kim@samsung.com>
|
|
- Call BaseImager.copy_attachment() after BaseImager.configure()
Post scripts on configure() cannot access attachment files which come from install_root.
So call copy_attachment() after running post scripts.
- Move attachment files not copy.
If copying attachment files from install_root, then attachment files remain in install_root.
So use mv instead of cp for deduplication.
Change-Id: Ie7a1d516331e29eaba975bc186b9644b96c17fbc
Signed-off-by: Dohyung Kim <dohyung2.kim@samsung.com>
|
|
- if init_expand is enabled, expand partition size(* 1.5) before mount
- check partition size after running resize2fs to verify partition size
Change-Id: I60e889f04368877b9d74a581279c9ea4f5d33217
Signed-off-by: Dohyung Kim <dohyung2.kim@samsung.com>
|
|
* add no_shrink option to partition
- if no_shrink is enable in specific partition, this partition do not shrink.
- if not, following pack_to or shrink option in loop command
* fix parameter of disk.expand()
- expand(size) -> expand(size=size)
Change-Id: Ic9486621795c0e1a867fd551d61f152c693b6c52
Signed-off-by: Dohyung Kim <dohyung2.kim@samsung.com>
|
|
Change-Id: I8b7a5916a6db8863a03b24d297a479e0d990adad
|
|
signing error
$ cat PLATFORM.ks
...
%post
# if you want to catch script error, add set command and trap command at the top of script
set -e
trap 'echo KS POST ERROR: command \"$BASH_COMMAND\" failed with error code $?' ERR
# it will cause an error
/usr/bin/error_command
%end
...
$ sudo mic cr auto PLATFORM.ks
...
INFO: Running post scripts ...
INFO: /tmp/ks-postscript-FShzJp: line 5: /usr/bin/error_command: No such file or directory
INFO: KS POST ERROR: command "/usr/bin/error_command" failed with error code 1
INFO:
ERROR: Failed to execute %post script with '/bin/sh'
Change-Id: I1a34a343b8bdd044ca85939e446c43cce783c900
Signed-off-by: Dohyung Kim <dohyung2.kim@samsung.com>
|
|
1. preserve-argv[0] flag is enabled
copy both qemu-XXX and qemu-XXX-binfmt and use them.
2. flag is disabled and the copied qemu and the registered qemu are different
create symlink as the registered qemu emulator filename and use symlink
Change-Id: I3f9050a01cc3bd0431b37a2c1e29729ef15ee765
Signed-off-by: Dohyung Kim <dohyung2.kim@samsung.com>
|
|
do not unregister qemu emulator before image creation
keep DEVICE_LOCKFILE to prevent a race condition
Signed-off-by: Dohyung Kim <dohyung2.kim@samsung.com>
Change-Id: I5714194ef6b48f80812b2f8b534d83fc27a663e4
|
|
Change-Id: I646334220703dedc28b7b1286e28e01ef4c485de
(cherry picked from commit 707754fa61eb4ae452e3af267e14290552122549)
|
|
Change-Id: I3266c24c2d7be8e7fe91e2d24c6b4f0afb62da87
|
|
Change-Id: I80298991eea5a9552a497b6e4b290e7b5b94555c
|
|
Change-Id: Ibe2f1cfaa7625ab1ea938feda5df6406beb267e6
|
|
Change-Id: Ia9ae3d445c708b444da0dee1e5060725db9b9403
|
|
local pkgs.
Change-Id: I249c2b42a54bd311bb09296a787ffe7d2f03379d
|
|
Change-Id: I86dd1072241fae911f6f1fbcb6e79a0583c75947
|
|
Change-Id: I90bdc068430589f04ab148b3b8b9b31d8b197613
|
|
Change-Id: Id6efc3334dc19e9198251aa79b1d6b965d3df0d1
|
|
Change-Id: I9fe14df33b74670321ca302d1783f647e87c216d
|
|
Change-Id: Id67c37b143f723e98491aad1d6730446149f01a5
|
|
Change-Id: Ib088fb9d56b08c9aeae01908827f5507d972cdec
|
|
Change-Id: I7c2d194ba3bcc4e8fc78073bc922f6e7eb853821
|