Very good idea, and actually we are planning to create the wiki portal for all the tools.
thanks - jf.ding On Thu, Oct 10, 2013 at 02:44:25PM +0300, Artem Bityutskiy wrote: > Hi Jian-feng, > > this question keeps arising many times. I myself asked them in the past > too. There are other questions people ask multiple times. > > Did you ever consider creating a FAQ in tizen.org? Why not to just put > typical questions there and answer people with a link? > > Or create a MIC wiki page an put an FAQ there. > > How does this sound? > > On Mon, 2013-08-26 at 09:33 +0000, VanCutsem, Geoffroy wrote: > > Hi Joshua, > > > > > > > > I have successfully done something similar in the past by adding my > > own packages in the kickstart file directly and setting it’s priority > > as the highest. That extra line looked like this: > > > > repo –-name=tizen-geoffroy > > –-baseurl=file:///home/geoffroy/GBS-ROOT/local/repos/tizen_3.0_dev/i586 > > –priority=1 > > > > > > > > Note the ‘—priority=1’ argument at the end. The default priority in a > > kickstart file is 99. > > > > > > > > In my case, I also directly use the folder used by gbs when compiling > > some packages locally (which is why you see this …/GBS-ROOT/…) but of > > course, you can also put the files you want anywhere else and adjust > > your kickstart file accordingly. > > > > > > > > Hope this helps, > > > > Geoffroy > > > > > > > > From: [email protected] [mailto:[email protected]] > > On Behalf Of Joshua Kim > > Sent: Monday, August 26, 2013 11:08 AM > > To: [email protected] > > Subject: [IVI] How to add or replace different packages while mic > > creating in local repository? > > > > > > > > > > How can I add or replace packages of different version while mic > > creating in local repository? > > > > > > If there are two packages of same version in seperated local > > directory, how can I choose the repository? > > > > > > > > > > > > [intel released version - local, all files] [my packages - > > local, just two files] > > > > > > ... > > > > > > ... > > > > > > kernel-x86-ivi-3.10.0-1.4.1.1.i686 > > <--replace-- kernel-x86-ivi-3.11.0-0.rc6.0.0.0.i686 > > > > > > linux-firmware-ivi-20130805-1.noarch > > <--replace-- linux-firmware-20130805-1.noarch > > > > > > ... > > > > > > ... > > > > > > > > > > > > kt@pc:~/3.0.m2> sudo mic cr raw -v -d ivi-release-efi-i586.ks > > --copy-kernel --generate-bmap --compress-image=bz2 --runtime=native > > --local-pkgs-path=/home/kt/devel/temp > > > > > > > > > > > > mic 0.20 (openSUSE 12.2 i586) > > > > > > Info: Substitute macro variable @BUILD_ID@/@ARCH@ in ks: > > ivi-release-efi-i586.ks > > > > > > Debug: normalized ks file:/tmp/ivi-release-efi-i586.ksQxJW0l > > > > > > Info: Retrieving repo metadata: > > > > > > Verbose: running command: "cp > > -f > > /home/kt/devel/prebuilt/3.0.m2/repos/ivi/ia32/packages/repodata/repomd.xml > > /var/tmp/mic/cache/ivi/repomd.xml" > > > > > > > > > > > > Debug: can't get > > file:///home/kt/devel/prebuilt/3.0.m2/repos/ivi/ia32/packages//repodata/repomd.xml.key > > > > > > DONE > > > > > > > > > > > > Info: Use detected arch i686. > > > > > > Debug: Plugin module > > yumpkgmgr:/usr/lib/mic/plugins/backend/yumpkgmgr.pyc imported > > > > > > Debug: Plugin module > > zypppkgmgr:/usr/lib/mic/plugins/backend/zypppkgmgr.pyc imported > > > > > > Debug: Assigning gpt partitions to disks > > > > > > Debug: Realignment for sdb1 with 2014 sectors, original offset 34, > > target alignment is 1024K. > > > > > > Debug: Assigned /boot to sdb1, sectors range 2048-133085 size 131038 > > sectors (67091456 bytes). > > > > > > Debug: Realignment for sdb2 with 34 sectors, original offset 133086, > > target alignment is 1024K. > > > > > > Debug: Assigned / to sdb2, sectors range 133120-7809023 size 7675904 > > sectors (3930062848 bytes). > > > > > > Debug: Realignment for sdb3 with 2048 sectors, original offset > > 7809024, target alignment is 1024K. > > > > > > Debug: Assigned swap to sdb3, sectors range 7811072-8859647 size > > 1048576 sectors (536870912 bytes). > > > > > > Debug: Adding disk sdb > > as > > /var/tmp/mic/build/imgcreate-fUeps8/tmp-mT__YG/ivi-release-efi-i586-201308261726-sdb.raw > > with size 4536157184 bytes > > > > > > Debug: Extending sparse > > file > > /var/tmp/mic/build/imgcreate-fUeps8/tmp-mT__YG/ivi-release-efi-i586-201308261726-sdb.raw > > to 4536157184 > > > > > > Verbose: running command: > > "/usr/sbin/losetup /dev/loop1 > > /var/tmp/mic/build/imgcreate-fUeps8/tmp-mT__YG/ivi-release-efi-i586-201308261726-sdb.raw" > > > > > > Debug: Assigning msdos partitions to disks > > > > > > Debug: Initializing partition table for /dev/loop1 > > > > > > Debug: /usr/sbin/parted > > > > > > -s > > > > > > /dev/loop1 > > > > > > mklabel > > > > > > gpt > > > > > > Debug: Creating partitions > > > > > > Debug: Added 'primary' partition, sectors 2048-133085, size 131038 > > sectors > > > > > > Debug: /usr/sbin/parted > > > > > > -s > > > > > > /dev/loop1 > > > > > > unit > > > > > > s > > > > > > mkpart > > > > > > primary > > > > > > fat32 > > > > > > 2048 > > > > > > 133085 > > > > > > Debug: Set 'legacy_boot' flag for partition '1' on disk '/dev/loop1' > > > > > > Debug: /usr/sbin/parted > > > > > > -s > > > > > > /dev/loop1 > > > > > > set > > > > > > 1 > > > > > > legacy_boot > > > > > > on > > > > > > Debug: Added 'primary' partition, sectors 133120-7809023, size 7675904 > > sectors > > > > > > Debug: /usr/sbin/parted > > > > > > -s > > > > > > /dev/loop1 > > > > > > unit > > > > > > s > > > > > > mkpart > > > > > > primary > > > > > > ext2 > > > > > > 133120 > > > > > > 7809023 > > > > > > Debug: Added 'primary' partition, sectors 7811072-8859647, size > > 1048576 sectors > > > > > > Debug: /usr/sbin/parted > > > > > > -s > > > > > > /dev/loop1 > > > > > > unit > > > > > > s > > > > > > mkpart > > > > > > primary > > > > > > ext2 > > > > > > 7811072 > > > > > > 8859647 > > > > > > Debug: PARTUUID for partition 1 on disk 'sdb' (mount point '/boot') is > > '44681C4B-27A5-4734-914F-04DE55CF1F7D' > > > > > > Debug: Change type of partition 1 on disk 'sdb' (mount point '/boot') > > to 'C12A7328-F81F-11D2-BA4B-00A0C93EC93B' > > > > > > Debug: PARTUUID for partition 2 on disk 'sdb' (mount point '/') is > > 'C6E22A7C-ECA8-4A04-B187-74A8020E54E6' > > > > > > Debug: PARTUUID for partition 3 on disk 'sdb' (mount point 'swap') is > > '6AE48404-B177-4656-99C7-DF73A435969F' > > > > > > Debug: Running kpartx on /dev/loop1 > > > > > > Debug: Dev loop1p1: /dev/loop11 -> /dev/mapper/loop1p1 > > > > > > Debug: Dev loop1p2: /dev/loop12 -> /dev/mapper/loop1p2 > > > > > > Debug: Dev loop1p3: /dev/loop13 -> /dev/mapper/loop1p3 > > > > > > Debug: Adding partx mapping for /dev/loop1 > > > > > > Verbose: running command: "/sbin/kpartx -v -a /dev/loop1", with > > output:: > > > > > > +---------------- > > > > > > | add map loop1p1 (253:2): 0 131038 linear /dev/loop1 2048 > > > > > > | add map loop1p2 (253:3): 0 7675904 linear /dev/loop1 133120 > > > > > > | add map loop1p3 (253:4): 0 1048576 linear /dev/loop1 7811072 > > > > > > +---------------- > > > > > > Debug: Calculating mount order > > > > > > Verbose: Formating ext4 filesystem on /dev/loop12 > > > > > > Debug: Tuning filesystem on /dev/loop12 > > > > > > Verbose: running command: "/usr/sbin/tune2fs -c0 -i0 -Odir_index > > -ouser_xattr,acl /dev/loop12", with output:: > > > > > > +---------------- > > > > > > | tune2fs 1.42.4 (12-June-2012) > > > > > > | Setting maximal mount count to -1 > > > > > > | Setting interval between checks to 0 seconds > > > > > > +---------------- > > > > > > Debug: Mounting /dev/loop12 > > at /var/tmp/mic/build/imgcreate-fUeps8/install_root/ > > > > > > Verbose: running command: > > "/usr/bin/mount /dev/loop12 > > /var/tmp/mic/build/imgcreate-fUeps8/install_root/ -t ext4" > > > > > > Verbose: Formating vfat filesystem on /dev/loop11 > > > > > > Verbose: running command: "/usr/sbin/mkfs.vfat -n boot -i > > 2624333B /dev/loop11", with output:: > > > > > > +---------------- > > > > > > | mkfs.vfat 3.0.10 (12 Sep 2010) > > > > > > | unable to get drive geometry, using default 255/63 > > > > > > +---------------- > > > > > > Verbose: Tuning filesystem on /dev/loop11 > > > > > > Debug: Creating mount > > point /var/tmp/mic/build/imgcreate-fUeps8/install_root/boot > > > > > > Debug: Mounting /dev/loop11 > > at /var/tmp/mic/build/imgcreate-fUeps8/install_root/boot > > > > > > Verbose: running command: > > "/usr/bin/mount /dev/loop11 > > /var/tmp/mic/build/imgcreate-fUeps8/install_root/boot -t vfat" > > > > > > Verbose: running command: "/usr/sbin/mkswap -L swap -U > > 3b98117c-0e29-11e3-8dde-4c72b9d2d212 /dev/loop13", with output:: > > > > > > +---------------- > > > > > > | mkswap: /dev/loop13: warning: don't erase bootbits sectors > > > > > > | on whole disk. Use -f to force. > > > > > > | Setting up swapspace version 1, size = 524284 KiB > > > > > > | LABEL=swap, UUID=3b98117c-0e29-11e3-8dde-4c72b9d2d212 > > > > > > +---------------- > > > > > > Debug: Writing mkinitrd > > config > > /var/tmp/mic/build/imgcreate-fUeps8/install_root/etc/sysconfig/mkinitrd > > > > > > Verbose: running command: "/usr/bin/mount > > --bind /sys /var/tmp/mic/build/imgcreate-fUeps8/install_root/sys" > > > > > > Verbose: running command: "/usr/bin/mount > > --bind /proc /var/tmp/mic/build/imgcreate-fUeps8/install_root/proc" > > > > > > Verbose: running command: "/usr/bin/mount > > --bind /proc/sys/fs/binfmt_misc > > /var/tmp/mic/build/imgcreate-fUeps8/install_root/proc/sys/fs/binfmt_misc" > > > > > > Verbose: running command: "/usr/bin/mount > > --bind /dev/pts /var/tmp/mic/build/imgcreate-fUeps8/install_root/dev/pts" > > > > > > Info: Refreshing repository: ivi ... > > > > > > Verbose: repo: ivi was added > > > > > > Info: zypp architecture is <i686> > > > > > > Info: > > Marking > > /home/kt/devel/temp/kernel-x86-ivi-debuginfo-3.11.0-0.rc6.0.0.0.i686.rpm to > > be installed > > > > > > Info: > > Marking > > /home/kt/devel/temp/kernel-x86-ivi-devel-3.11.0-0.rc6.0.0.0.i686.rpm to be > > installed > > > > > > Info: > > Marking > > /home/kt/devel/temp/linux-firmware-debugsource-20130805-1.noarch.rpm to be > > installed > > > > > > Info: Marking /home/kt/devel/temp/perf-3.11.0-0.rc6.0.0.0.i686.rpm to > > be installed > > > > > > Info: Marking /home/kt/devel/temp/linux-firmware-20130805-1.noarch.rpm > > to be installed > > > > > > Info: > > Marking > > /home/kt/devel/temp/kernel-x86-ivi-debugsource-3.11.0-0.rc6.0.0.0.i686.rpm > > to be installed > > > > > > Info: > > Marking /home/kt/devel/temp/perf-debuginfo-3.11.0-0.rc6.0.0.0.i686.rpm > > to be installed > > > > > > Info: > > Marking /home/kt/devel/temp/linux-firmware-ivi-20130805-1.noarch.rpm > > to be installed > > > > > > Info: > > Marking > > /home/kt/devel/temp/kernel-x86-ivi-devel-debuginfo-3.11.0-0.rc6.0.0.0.i686.rpm > > to be installed > > > > > > Info: > > Marking /home/kt/devel/temp/kernel-x86-ivi-3.11.0-0.rc6.0.0.0.i686.rpm > > to be installed > > > > > > Warning: repo problem: cannot install both > > kernel-x86-ivi-3.11.0-0.rc6.0.0.0.i686 and > > kernel-x86-ivi-3.10.0-1.4.1.1.i686, > > > > > > Warning: repo problem: linux-firmware-ivi-20130805-1.noarch conflicts > > with linux-firmware provided by linux-firmware-20130805-1.noarch, > > > > > > Verbose: running command: "/usr/bin/umount > > -l /var/tmp/mic/build/imgcreate-fUeps8/install_root/dev/pts" > > > > > > Verbose: running command: "/usr/bin/umount > > -l /var/tmp/mic/build/imgcreate-fUeps8/install_root/proc/sys/fs/binfmt_misc" > > > > > > Verbose: running command: "/usr/bin/umount > > -l /var/tmp/mic/build/imgcreate-fUeps8/install_root/proc" > > > > > > Verbose: running command: "/usr/bin/umount > > -l /var/tmp/mic/build/imgcreate-fUeps8/install_root/sys" > > > > > > Debug: Unmounting > > directory /var/tmp/mic/build/imgcreate-fUeps8/install_root/boot > > > > > > Verbose: running command: "/usr/bin/umount > > -l /var/tmp/mic/build/imgcreate-fUeps8/install_root/boot" > > > > > > Debug: Unmounting > > directory /var/tmp/mic/build/imgcreate-fUeps8/install_root/ > > > > > > Verbose: running command: "/usr/bin/umount > > -l /var/tmp/mic/build/imgcreate-fUeps8/install_root/" > > > > > > Debug: Removing compat symlinks > > > > > > Debug: Unmapping /dev/loop1 > > > > > > Debug: Losetup remove /dev/loop1 > > > > > > Verbose: running command: "/usr/sbin/losetup -d /dev/loop1" > > > > > > Error: Traceback (most recent call last): > > > > > > File "/usr/bin/mic", line 221, in <module> > > > > > > sys.exit(mic.main()) > > > > > > File "/usr/lib/python2.7/site-packages/mic/utils/cmdln.py", line > > 257, in main > > > > > > return self.cmd(args) > > > > > > File "/usr/lib/python2.7/site-packages/mic/utils/cmdln.py", line > > 280, in cmd > > > > > > retval = self.onecmd(argv) > > > > > > File "/usr/lib/python2.7/site-packages/mic/utils/cmdln.py", line > > 412, in onecmd > > > > > > return self._dispatch_cmd(handler, argv) > > > > > > File "/usr/lib/python2.7/site-packages/mic/utils/cmdln.py", line > > 1084, in _dispatch_cmd > > > > > > return handler(argv) > > > > > > File "/usr/bin/mic", line 94, in do_create > > > > > > cr.main(argv[1:]) > > > > > > File "/usr/lib/python2.7/site-packages/mic/creator.py", line 294, in > > main > > > > > > return self.cmd(args) > > > > > > File "/usr/lib/python2.7/site-packages/mic/utils/cmdln.py", line > > 280, in cmd > > > > > > retval = self.onecmd(argv) > > > > > > File "/usr/lib/python2.7/site-packages/mic/utils/cmdln.py", line > > 412, in onecmd > > > > > > return self._dispatch_cmd(handler, argv) > > > > > > File "/usr/lib/python2.7/site-packages/mic/utils/cmdln.py", line > > 1100, in _dispatch_cmd > > > > > > return handler(argv[0], opts, *args) > > > > > > File "/usr/lib/mic/plugins/imager/raw_plugin.py", line 119, in > > do_create > > > > > > creator.install() > > > > > > File "/usr/lib/python2.7/site-packages/mic/imager/baseimager.py", > > line 1034, in install > > > > > > pkg_manager.runInstall(checksize) > > > > > > File "/usr/lib/mic/plugins/backend/zypppkgmgr.py", line 453, in > > runInstall > > > > > > self.buildTransaction() > > > > > > File "/usr/lib/mic/plugins/backend/zypppkgmgr.py", line 699, in > > buildTransaction > > > > > > % len(probs)) > > > > > > RepoError: <repo>found 2 resolver problem, abort! > > > > > > > > > > > > > > > > > > -- > > > > Joshua Kim > > > > ------------------------------------- > > > > Leading Research Engineer > > Hyundai Autron > > > > > > > > > > > > Intel Corporation NV/SA > > Kings Square, Veldkant 31 > > 2550 Kontich > > RPM (Bruxelles) 0415.497.718. > > Citibank, Brussels, account 570/1031255/09 > > > > This e-mail and any attachments may contain confidential material for > > the sole use of the intended recipient(s). Any review or distribution > > by others is strictly prohibited. If you are not the intended > > recipient, please contact the sender and delete all copies. > > > > _______________________________________________ > > IVI mailing list > > [email protected] > > https://lists.tizen.org/listinfo/ivi > > -- > Best Regards, > Artem Bityutskiy > _______________________________________________ IVI mailing list [email protected] https://lists.tizen.org/listinfo/ivi
