Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
dcore:sce-import [2016/05/09 04:30] – [sce-import and deb2sce script guide] nitramdcore:sce-import [2016/06/07 09:38] (current) – [sce-import and deb2sce Script Review] nitram
Line 1: Line 1:
-===== sce-import and deb2sce script guide =====+===== dCore sce-import and deb2sce Script Review =====
 These scripts are fairly complicated, forum member LichenSymbiont's guide to some of dCore's most important scripts, sce-import and deb2sce. These scripts are fairly complicated, forum member LichenSymbiont's guide to some of dCore's most important scripts, sce-import and deb2sce.
  
-**Suggested Reading:** +The sce-import script is a commandline package manager that calls deb2sce to retrieve .deb files and collect them into an SCE extension. 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, and excluded packages, for the .deb packages (contained in /dCore/$build/import/deb2sce.tar.gz on the FTP). It also contains specific packages compiled for dCore (fltk library, flwm_topside and others).
-The scripts uses grep and awk extensively, so you should [[http://tldp.org/LDP/abs/html/part4.html|read more]] about [[http://coewww.rutgers.edu/linux/lessons/lesson9/shell_script_tutorial.html|using them]]. +
-It also uses some more complex awk programs, so you should learn a bit about the [[http://www.grymoire.com/Unix/Awk.html|Awk language]]. +
-And of course you need to know bash scripting, so here is a [[http://tldp.org/HOWTO/Bash-Prog-Intro-HOWTO.html|guide]]. +
-And understand some pitfalls in Bash (some applicable to Ash): [[http://mywiki.wooledge.org/BashPitfalls|Bash Pitfalls]]. +
- +
-=== Summary === +
- +
-sce-import is the command-line package manager (script), which calls deb2sce for getting the .deb filesand collecting them into the .sce package. +
-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, and excluded packages, for the .deb packages (contained in /dCore/$build/import/deb2sce.tar.gz on the FTP). +
-It also contains specific packages compiled for dCore (fltk library, flwm_topside and others). +
- +
-The scripts are complicated, unless you have a desire to learn, a good general understanding, and/or at least study them consistently. +
- +
-=== SCE Extensions ===+
  
 An SCE extension is a [[http://squashfs.sourceforge.net/|SquashFS]] file, which can compress data using multiple compression algorithms. An SCE extension is a [[http://squashfs.sourceforge.net/|SquashFS]] file, which can compress data using multiple compression algorithms.
Line 30: Line 13:
 loadsce also loads all the dependencies of a package. loadsce also loads all the dependencies of a package.
  
-**[[http://wiki.tinycorelinux.net/dcore:welcome|> Return to the dCore wiki welcome page]]**+**Helpful Links:** 
 +The scripts uses grep and awk extensively, so you should [[http://tldp.org/LDP/abs/html/part4.html|read more]] about [[http://coewww.rutgers.edu/linux/lessons/lesson9/shell_script_tutorial.html|using them]]. 
 +It also uses some more complex awk programs, so you should learn a bit about the [[http://www.grymoire.com/Unix/Awk.html|Awk language]]. 
 +And of course you need to know bash scripting, so here is a [[http://tldp.org/HOWTO/Bash-Prog-Intro-HOWTO.html|guide]]. 
 +And understand some pitfalls in Bash (some applicable to Ash): [[http://mywiki.wooledge.org/BashPitfalls|Bash Pitfalls]]. 
 + 
 +**[[http://wiki.tinycorelinux.net/dcore:welcome|> Return to the dCore Wiki Welcome page]]**
 ==== sce-import ==== ==== sce-import ====
  
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://wiki.tinycorelinux.net/dcore:welcome|> Return to the dCore wiki welcome page]]**+**[[http://wiki.tinycorelinux.net/dcore:welcome|> Return to the dCore Wiki Welcome page]]**
 ==== 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://wiki.tinycorelinux.net/dcore:welcome|> Return to the dCore wiki welcome page]]**+**[[http://wiki.tinycorelinux.net/dcore:welcome|> Return to the dCore Wiki Welcome page]]**
Print/export
QR Code
QR Code dcore:sce-import (generated for current page)