Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
dcore:extension_strategies [2016/11/07 23:19] – [Creating Personal Extensions] nitram | dcore:extension_strategies [2018/12/11 08:14] (current) – [Locales and Languages] link inserted sm8ps | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Advanced dCore SCE Strategies ====== | ====== Advanced dCore SCE Strategies ====== | ||
- | |||
- | **>> UNDER RENOVATION <<** | ||
===== Overview ===== | ===== Overview ===== | ||
Line 237: | Line 235: | ||
http:// | http:// | ||
+ | |||
+ | **[[http:// | ||
+ | |||
+ | ===== Boot Code nomd5 ===== | ||
+ | The nomd5 boot code skips md5sum checking of boot time SCEs, slightly improving boot speed. Loading SCEs during runtime, using '' | ||
+ | |||
+ | By default SCE md5sum checks are performed during loading to ensure SCE integrity. As such, the nomd5 boot code should not be used if there are system security concerns, such as potential tampering within the SCE directory. For systems with high security priority, the SCE *.md5.txt files could be saved securely and periodically checked against the actual extension. The process could be automated using a relatively simple script. This backup and check process would need to be repeated whenever SCEs are updated. | ||
**[[http:// | **[[http:// | ||
===== Locales and Languages ===== | ===== Locales and Languages ===== | ||
- | *insert locale | + | * cf. relevant [[http://wiki.tinycorelinux.net/ |
**[[http:// | **[[http:// | ||
Line 304: | Line 309: | ||
# UPDATEDEBINXMODE is default and not needed to be specified here. | # UPDATEDEBINXMODE is default and not needed to be specified here. | ||
+ | |||
+ | # Use SAFEBACKUP=TRUE to backup SCE(s) in / | ||
+ | # during re-import. Ensure adequate freespace, manually purge backups. | ||
+ | SAFEBACKUP=FALSE | ||
# Use NICE=19 for the most cpu friendly use of sce-import and sce-update. | # Use NICE=19 for the most cpu friendly use of sce-import and sce-update. | ||
Line 316: | Line 325: | ||
**[[http:// | **[[http:// | ||
+ | ===== Version Conflicts ===== | ||
+ | As SCEs are self-contained the potential for dependency version conflicts between loaded SCEs exist. If different SCEs have a common dependency, a frequent occurrence, but were not imported or updated at the same time, one SCE may still be using an older dependency version while another has the updated version. | ||
+ | |||
+ | Although rare, this may cause extension breakage if two or more SCEs with out of sync dependency versions are loaded at the same time. More concerning is a potential security issue, as there is no guarantee loaded SCEs that use common dependencies are all using the most up to date security releases. | ||
+ | |||
+ | Strategies to avoid dependency version conflicts: | ||
+ | * Import all SCEs using list file(s) and/or dependency chains to minimize dependency duplication (discussed above). | ||
+ | * Periodically run '' | ||
+ | * Periodically manually re-import all SCEs. The '' | ||
+ | |||
+ | ===== Broken SCEs ===== | ||
+ | SCEs imported with advanced techniques, particularly using / | ||
===== Creating Personal Extensions ===== | ===== Creating Personal Extensions ===== | ||
Line 333: | Line 354: | ||
Basic commands: | Basic commands: | ||
- | mksquashfs / | + | mksquashfs / |
md5sum / | md5sum / | ||
- | mv my_application.* / | + | mv my_application.* / |
- | sce-ondemand | + | sce-load my_application |
- | Note there is no need to submit extensions to a repository. Recommend | + | Note there is no need to submit extensions to a repository. Recommend |
- | + | ||
- | ===== Version Conflicts ===== | + | |
- | Contrary to the above-said, there does exist some potential for conflicts between different versions of one and the same package in different extensions. Thus it is important to keep the extensions up to date by [[dcore: | + | |
- | + | ||
- | ===== Broken SCEs ===== | + | |
- | SCEs imported with advanced techniques, particularly using / | + | |
**[[http:// | **[[http:// | ||