Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
dcore:sce-import [2016/05/09 04:32] – [sce-import and deb2sce script guide] nitram | dcore:sce-import [2016/06/07 09:38] (current) – [sce-import and deb2sce Script Review] nitram | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ===== sce-import and deb2sce Script Review ===== | + | ===== dCore sce-import and deb2sce Script Review ===== |
These scripts are fairly complicated, | These scripts are fairly complicated, | ||
- | **Suggested Reading: | + | The sce-import |
- | The scripts uses grep and awk extensively, | + | |
- | It also uses some more complex awk programs, so you should learn a bit about the [[http:// | + | |
- | And of course you need to know bash scripting, so here is a [[http:// | + | |
- | And understand some pitfalls in Bash (some applicable to Ash): [[http:// | + | |
- | + | ||
- | === Summary === | + | |
- | + | ||
- | sce-import is the command-line | + | |
- | It also calls the update function for the indices of Debian packages (debGetEnv). | + | |
- | + | ||
- | As you should expect, it must handle the regular Debian and Ubuntu package repository mirrors. | + | |
- | Beyound that, it also downloads the dCore specific dependencies, | + | |
- | It also contains specific packages compiled for dCore (fltk library, flwm_topside and others). | + | |
- | + | ||
- | The scripts are complicated, | + | |
- | + | ||
- | === SCE Extensions === | + | |
An SCE extension is a [[http:// | An SCE extension is a [[http:// | ||
Line 29: | Line 12: | ||
These SCE extensions are mounted as [[https:// | These SCE extensions are mounted as [[https:// | ||
loadsce also loads all the dependencies of a package. | loadsce also loads all the dependencies of a package. | ||
+ | |||
+ | **Helpful Links:** | ||
+ | The scripts uses grep and awk extensively, | ||
+ | It also uses some more complex awk programs, so you should learn a bit about the [[http:// | ||
+ | And of course you need to know bash scripting, so here is a [[http:// | ||
+ | And understand some pitfalls in Bash (some applicable to Ash): [[http:// | ||
**[[http:// | **[[http:// | ||
Line 57: | Line 46: | ||
deb2sce also does the -l option operations, of importing packages from a file containing a list of packages. | deb2sce also does the -l option operations, of importing packages from a file containing a list of packages. | ||
- | **[[http:// | + | **[[http:// |
==== deb2sce ==== | ==== deb2sce ==== | ||
Line 83: | Line 72: | ||
- And finally, after a lot of operations (a bit too complicated to put here now), it uses mksquashfs to compress the temporary target directory into a SquashFS file -- the sce package. | - And finally, after a lot of operations (a bit too complicated to put here now), it uses mksquashfs to compress the temporary target directory into a SquashFS file -- the sce package. | ||
- | **[[http:// | + | **[[http:// |