Using Moblin Bootstrap
Bootstrap is a minimal Moblin system, MIC2 can be run inside of it, so both yum and rpm will remain at the latest versions. Some other dependent packages are included. Users mustn't fix these boring things manually.
MIC2 provided the moblin-create-bootstrap tool. This tool can create a bootstrap. And because the tool doesn't depend on yum, just on rpm, you can also use it to create the bootstrap, then run MIC2 inside of it, on some systems which have compatibility issues. moblin-create-bootstrap can leverage repo cache moblin-image-creator used, if it is available.
Run "moblin-create-bootstrap --help" to get detailed usage information:
moblin-create-bootstrap --help
Usage: moblin-create-bootstrap [options]
Options:
--version show program's version number and exit
-h, --help show this help message and exit
-k CACHEDIR, --cache=CACHEDIR
Repo cache dir, it saves too much time to use repo
cache.
-n REPONAME, --reponame=REPONAME
repo name, get repo cache according to this
-r REPOURL, --repourl=REPOURL
Repo URL
-p PROXY, --proxy=PROXY
Specify a http proxy if needed
-o OUTDIR, --outdir=OUTDIR
Output directory to use, it should be empty if existedFor example:
sudo moblin-create-bootstrap --cache=mycache --reponame=moblin2 --repourl=http://repo.moblin.org/moblin/development/2.1-preview/ia32/os/ --outdir=~/moblin-bootstrap-fsWith a moblin bootstrap filesystem, you can provide -B or --bootstrap option to force moblin-image-creator to use this bootstrap filesystem. This can fix some boring package compatibility issues in Debian and Ubuntu.
sudo moblin-image-creator --bootstrap=~/moblin-bootstrap-fs --config=2.1-preview.ks --format=livecd --cache=mycachemoblin-image-creator can also build and run inside of a moblin bootstrap in one run, using combination --build-bootstrap and --bootstrap=~/moblin-bootstrap-fs.
sudo moblin-image-creator --build-bootstrap --bootstrap=~/moblin-bootstrap-fs --config=2.1-preview.ks --format=livecd --cache=mycache- Printer-friendly version
- Login or register to post comments