]> code.ossystems Code Review - openembedded-core.git/commit
wic: Add mic w/pykickstart
authorTom Zanussi <tom.zanussi@linux.intel.com>
Sat, 24 Aug 2013 15:31:34 +0000 (15:31 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 1 Oct 2013 21:53:38 +0000 (22:53 +0100)
commit31f0360f1fd4ebc9dfcaed42d1c50d2448b4632e
tree7d8882b785efdb755de36a28dffa69712cf9b365
parent95455ae4251e06d66e60945092b784d2d9ef165c
wic: Add mic w/pykickstart

This is the starting point for the implemention described in [YOCTO
3847] which came to the conclusion that it would make sense to use
kickstart syntax to implement image creation in OpenEmbedded.  I
subsequently realized that there was an existing tool that already
implemented image creation using kickstart syntax, the Tizen/Meego mic
tool.  As such, it made sense to use that as a starting point - this
commit essentially just copies the relevant Python code from the MIC
tool to the scripts/lib dir, where it can be accessed by the
previously created wic tool.

Most of this will be removed or renamed by later commits, since we're
initially focusing on partitioning only.  Care should be taken so that
we can easily add back any additional functionality should we decide
later to expand the tool, though (we may also want to contribute our
local changes to the mic tool to the Tizen project if it makes sense,
and therefore should avoid gratuitous changes to the original code if
possible).

Added the /mic subdir from Tizen mic repo as a starting point:

 git clone git://review.tizen.org/tools/mic.git

 For reference, the top commit:

 commit 20164175ddc234a17b8a12c33d04b012347b1530
 Author: Gui Chen <gui.chen@intel.com>
 Date:   Sun Jun 30 22:32:16 2013 -0400

    bump up to 0.19.2

Also added the /plugins subdir, moved to under the /mic subdir (to
match the default plugin_dir location in mic.conf.in, which was
renamed to yocto-image.conf (moved and renamed by later patches) and
put into /scripts.

Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
135 files changed:
scripts/lib/mic/3rdparty/pykickstart/__init__.py [new file with mode: 0644]
scripts/lib/mic/3rdparty/pykickstart/base.py [new file with mode: 0644]
scripts/lib/mic/3rdparty/pykickstart/commands/__init__.py [new file with mode: 0644]
scripts/lib/mic/3rdparty/pykickstart/commands/authconfig.py [new file with mode: 0644]
scripts/lib/mic/3rdparty/pykickstart/commands/autopart.py [new file with mode: 0644]
scripts/lib/mic/3rdparty/pykickstart/commands/autostep.py [new file with mode: 0644]
scripts/lib/mic/3rdparty/pykickstart/commands/bootloader.py [new file with mode: 0644]
scripts/lib/mic/3rdparty/pykickstart/commands/clearpart.py [new file with mode: 0644]
scripts/lib/mic/3rdparty/pykickstart/commands/device.py [new file with mode: 0644]
scripts/lib/mic/3rdparty/pykickstart/commands/deviceprobe.py [new file with mode: 0644]
scripts/lib/mic/3rdparty/pykickstart/commands/displaymode.py [new file with mode: 0644]
scripts/lib/mic/3rdparty/pykickstart/commands/dmraid.py [new file with mode: 0644]
scripts/lib/mic/3rdparty/pykickstart/commands/driverdisk.py [new file with mode: 0644]
scripts/lib/mic/3rdparty/pykickstart/commands/fcoe.py [new file with mode: 0644]
scripts/lib/mic/3rdparty/pykickstart/commands/firewall.py [new file with mode: 0644]
scripts/lib/mic/3rdparty/pykickstart/commands/firstboot.py [new file with mode: 0644]
scripts/lib/mic/3rdparty/pykickstart/commands/group.py [new file with mode: 0644]
scripts/lib/mic/3rdparty/pykickstart/commands/ignoredisk.py [new file with mode: 0644]
scripts/lib/mic/3rdparty/pykickstart/commands/interactive.py [new file with mode: 0644]
scripts/lib/mic/3rdparty/pykickstart/commands/iscsi.py [new file with mode: 0644]
scripts/lib/mic/3rdparty/pykickstart/commands/iscsiname.py [new file with mode: 0644]
scripts/lib/mic/3rdparty/pykickstart/commands/key.py [new file with mode: 0644]
scripts/lib/mic/3rdparty/pykickstart/commands/keyboard.py [new file with mode: 0644]
scripts/lib/mic/3rdparty/pykickstart/commands/lang.py [new file with mode: 0644]
scripts/lib/mic/3rdparty/pykickstart/commands/langsupport.py [new file with mode: 0644]
scripts/lib/mic/3rdparty/pykickstart/commands/lilocheck.py [new file with mode: 0644]
scripts/lib/mic/3rdparty/pykickstart/commands/logging.py [new file with mode: 0644]
scripts/lib/mic/3rdparty/pykickstart/commands/logvol.py [new file with mode: 0644]
scripts/lib/mic/3rdparty/pykickstart/commands/mediacheck.py [new file with mode: 0644]
scripts/lib/mic/3rdparty/pykickstart/commands/method.py [new file with mode: 0644]
scripts/lib/mic/3rdparty/pykickstart/commands/monitor.py [new file with mode: 0644]
scripts/lib/mic/3rdparty/pykickstart/commands/mouse.py [new file with mode: 0644]
scripts/lib/mic/3rdparty/pykickstart/commands/multipath.py [new file with mode: 0644]
scripts/lib/mic/3rdparty/pykickstart/commands/network.py [new file with mode: 0644]
scripts/lib/mic/3rdparty/pykickstart/commands/partition.py [new file with mode: 0644]
scripts/lib/mic/3rdparty/pykickstart/commands/raid.py [new file with mode: 0644]
scripts/lib/mic/3rdparty/pykickstart/commands/reboot.py [new file with mode: 0644]
scripts/lib/mic/3rdparty/pykickstart/commands/repo.py [new file with mode: 0644]
scripts/lib/mic/3rdparty/pykickstart/commands/rescue.py [new file with mode: 0644]
scripts/lib/mic/3rdparty/pykickstart/commands/rootpw.py [new file with mode: 0644]
scripts/lib/mic/3rdparty/pykickstart/commands/selinux.py [new file with mode: 0644]
scripts/lib/mic/3rdparty/pykickstart/commands/services.py [new file with mode: 0644]
scripts/lib/mic/3rdparty/pykickstart/commands/skipx.py [new file with mode: 0644]
scripts/lib/mic/3rdparty/pykickstart/commands/sshpw.py [new file with mode: 0644]
scripts/lib/mic/3rdparty/pykickstart/commands/timezone.py [new file with mode: 0644]
scripts/lib/mic/3rdparty/pykickstart/commands/updates.py [new file with mode: 0644]
scripts/lib/mic/3rdparty/pykickstart/commands/upgrade.py [new file with mode: 0644]
scripts/lib/mic/3rdparty/pykickstart/commands/user.py [new file with mode: 0644]
scripts/lib/mic/3rdparty/pykickstart/commands/vnc.py [new file with mode: 0644]
scripts/lib/mic/3rdparty/pykickstart/commands/volgroup.py [new file with mode: 0644]
scripts/lib/mic/3rdparty/pykickstart/commands/xconfig.py [new file with mode: 0644]
scripts/lib/mic/3rdparty/pykickstart/commands/zerombr.py [new file with mode: 0644]
scripts/lib/mic/3rdparty/pykickstart/commands/zfcp.py [new file with mode: 0644]
scripts/lib/mic/3rdparty/pykickstart/constants.py [new file with mode: 0644]
scripts/lib/mic/3rdparty/pykickstart/errors.py [new file with mode: 0644]
scripts/lib/mic/3rdparty/pykickstart/handlers/__init__.py [new file with mode: 0644]
scripts/lib/mic/3rdparty/pykickstart/handlers/control.py [new file with mode: 0644]
scripts/lib/mic/3rdparty/pykickstart/handlers/f10.py [new file with mode: 0644]
scripts/lib/mic/3rdparty/pykickstart/handlers/f11.py [new file with mode: 0644]
scripts/lib/mic/3rdparty/pykickstart/handlers/f12.py [new file with mode: 0644]
scripts/lib/mic/3rdparty/pykickstart/handlers/f13.py [new file with mode: 0644]
scripts/lib/mic/3rdparty/pykickstart/handlers/f14.py [new file with mode: 0644]
scripts/lib/mic/3rdparty/pykickstart/handlers/f15.py [new file with mode: 0644]
scripts/lib/mic/3rdparty/pykickstart/handlers/f16.py [new file with mode: 0644]
scripts/lib/mic/3rdparty/pykickstart/handlers/f7.py [new file with mode: 0644]
scripts/lib/mic/3rdparty/pykickstart/handlers/f8.py [new file with mode: 0644]
scripts/lib/mic/3rdparty/pykickstart/handlers/f9.py [new file with mode: 0644]
scripts/lib/mic/3rdparty/pykickstart/handlers/fc3.py [new file with mode: 0644]
scripts/lib/mic/3rdparty/pykickstart/handlers/fc4.py [new file with mode: 0644]
scripts/lib/mic/3rdparty/pykickstart/handlers/fc5.py [new file with mode: 0644]
scripts/lib/mic/3rdparty/pykickstart/handlers/fc6.py [new file with mode: 0644]
scripts/lib/mic/3rdparty/pykickstart/handlers/rhel3.py [new file with mode: 0644]
scripts/lib/mic/3rdparty/pykickstart/handlers/rhel4.py [new file with mode: 0644]
scripts/lib/mic/3rdparty/pykickstart/handlers/rhel5.py [new file with mode: 0644]
scripts/lib/mic/3rdparty/pykickstart/handlers/rhel6.py [new file with mode: 0644]
scripts/lib/mic/3rdparty/pykickstart/ko.py [new file with mode: 0644]
scripts/lib/mic/3rdparty/pykickstart/options.py [new file with mode: 0644]
scripts/lib/mic/3rdparty/pykickstart/parser.py [new file with mode: 0644]
scripts/lib/mic/3rdparty/pykickstart/sections.py [new file with mode: 0644]
scripts/lib/mic/3rdparty/pykickstart/urlgrabber/__init__.py [new file with mode: 0644]
scripts/lib/mic/3rdparty/pykickstart/urlgrabber/byterange.py [new file with mode: 0644]
scripts/lib/mic/3rdparty/pykickstart/urlgrabber/grabber.py [new file with mode: 0644]
scripts/lib/mic/3rdparty/pykickstart/urlgrabber/keepalive.py [new file with mode: 0644]
scripts/lib/mic/3rdparty/pykickstart/urlgrabber/mirror.py [new file with mode: 0644]
scripts/lib/mic/3rdparty/pykickstart/urlgrabber/progress.py [new file with mode: 0644]
scripts/lib/mic/3rdparty/pykickstart/urlgrabber/sslfactory.py [new file with mode: 0644]
scripts/lib/mic/3rdparty/pykickstart/version.py [new file with mode: 0644]
scripts/lib/mic/__init__.py [new file with mode: 0644]
scripts/lib/mic/__version__.py [new file with mode: 0644]
scripts/lib/mic/bootstrap.py [new file with mode: 0644]
scripts/lib/mic/chroot.py [new file with mode: 0644]
scripts/lib/mic/conf.py [new file with mode: 0644]
scripts/lib/mic/creator.py [new file with mode: 0644]
scripts/lib/mic/imager/__init__.py [new file with mode: 0644]
scripts/lib/mic/imager/baseimager.py [new file with mode: 0644]
scripts/lib/mic/imager/fs.py [new file with mode: 0644]
scripts/lib/mic/imager/livecd.py [new file with mode: 0644]
scripts/lib/mic/imager/liveusb.py [new file with mode: 0644]
scripts/lib/mic/imager/loop.py [new file with mode: 0644]
scripts/lib/mic/imager/raw.py [new file with mode: 0644]
scripts/lib/mic/kickstart/__init__.py [new file with mode: 0644]
scripts/lib/mic/kickstart/custom_commands/__init__.py [new file with mode: 0644]
scripts/lib/mic/kickstart/custom_commands/desktop.py [new file with mode: 0644]
scripts/lib/mic/kickstart/custom_commands/installerfw.py [new file with mode: 0644]
scripts/lib/mic/kickstart/custom_commands/micboot.py [new file with mode: 0644]
scripts/lib/mic/kickstart/custom_commands/micrepo.py [new file with mode: 0644]
scripts/lib/mic/kickstart/custom_commands/partition.py [new file with mode: 0644]
scripts/lib/mic/msger.py [new file with mode: 0644]
scripts/lib/mic/plugin.py [new file with mode: 0644]
scripts/lib/mic/pluginbase.py [new file with mode: 0644]
scripts/lib/mic/plugins/backend/yumpkgmgr.py [new file with mode: 0644]
scripts/lib/mic/plugins/backend/zypppkgmgr.py [new file with mode: 0755]
scripts/lib/mic/plugins/hook/.py [new file with mode: 0644]
scripts/lib/mic/plugins/hook/empty_hook.py [new file with mode: 0644]
scripts/lib/mic/plugins/imager/fs_plugin.py [new file with mode: 0644]
scripts/lib/mic/plugins/imager/livecd_plugin.py [new file with mode: 0644]
scripts/lib/mic/plugins/imager/liveusb_plugin.py [new file with mode: 0644]
scripts/lib/mic/plugins/imager/loop_plugin.py [new file with mode: 0644]
scripts/lib/mic/plugins/imager/raw_plugin.py [new file with mode: 0644]
scripts/lib/mic/rt_util.py [new file with mode: 0644]
scripts/lib/mic/test [new file with mode: 0644]
scripts/lib/mic/utils/BmapCreate.py [new file with mode: 0644]
scripts/lib/mic/utils/Fiemap.py [new file with mode: 0644]
scripts/lib/mic/utils/__init__.py [new file with mode: 0644]
scripts/lib/mic/utils/cmdln.py [new file with mode: 0644]
scripts/lib/mic/utils/errors.py [new file with mode: 0644]
scripts/lib/mic/utils/fs_related.py [new file with mode: 0644]
scripts/lib/mic/utils/gpt_parser.py [new file with mode: 0644]
scripts/lib/mic/utils/grabber.py [new file with mode: 0644]
scripts/lib/mic/utils/misc.py [new file with mode: 0644]
scripts/lib/mic/utils/partitionedfs.py [new file with mode: 0644]
scripts/lib/mic/utils/proxy.py [new file with mode: 0644]
scripts/lib/mic/utils/rpmmisc.py [new file with mode: 0644]
scripts/lib/mic/utils/runner.py [new file with mode: 0644]
scripts/yocto-image.conf [new file with mode: 0644]