readme add
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@ -4,6 +4,7 @@
|
|||||||
!.cargo
|
!.cargo
|
||||||
!.cargo/**
|
!.cargo/**
|
||||||
!install.sh
|
!install.sh
|
||||||
|
!Readme.md
|
||||||
|
|
||||||
!src
|
!src
|
||||||
!src/**
|
!src/**
|
||||||
|
|||||||
33
Readme.md
Normal file
33
Readme.md
Normal file
@ -0,0 +1,33 @@
|
|||||||
|
AeroLinux package manager
|
||||||
|
=
|
||||||
|
Lightweight, high-performance, next-generation Linux package manager
|
||||||
|
|
||||||
|
# Advantages
|
||||||
|
|
||||||
|
#### Performance
|
||||||
|
* Cross libc
|
||||||
|
> +0-15% performance, depending on the application
|
||||||
|
> packages use the most appropriate libc library
|
||||||
|
* Profile-guided optimization
|
||||||
|
> +5-20% performance, optimization for any usage scenario
|
||||||
|
> (to use in build set pgo=true in env)
|
||||||
|
|
||||||
|
#### Flexibility
|
||||||
|
* Simple insulation
|
||||||
|
> At the repository level
|
||||||
|
> Packages with completely incompatible libraries are separated into different repositories:
|
||||||
|
> /pkg/<repo>
|
||||||
|
>
|
||||||
|
> Between the packages
|
||||||
|
> Packages are installed as "packages" in different folders:
|
||||||
|
> /pkg/<repo>/<pkgname>
|
||||||
|
>
|
||||||
|
> The repository combines files /pkg/<repo>/<pkgname>/{bin, lib, ...} to /pkg/<repo>/{bin, lib, ...}
|
||||||
|
* Storage optimization
|
||||||
|
> Final Assembly Philosophy:
|
||||||
|
> After the final system build, when no more packages need to be installed.
|
||||||
|
> Flexible removal of all unused files by reading time
|
||||||
|
|
||||||
|
#### Easy to use
|
||||||
|
> Isolating packages makes it easy to find a configuration.
|
||||||
|
> `pkg config <pkgname>` squirrel makes it even easier
|
||||||
@ -35,7 +35,7 @@ pub fn install(repo: &String, pkgname: &String) -> Result<(), bool> {
|
|||||||
hook(&repo, &pkgname);
|
hook(&repo, &pkgname);
|
||||||
config(&src_dir, &pkg_md_path)?;
|
config(&src_dir, &pkg_md_path)?;
|
||||||
|
|
||||||
let src_remove_flag = match std::env::var("pkg_src_remove") {
|
let src_remove_flag = match std::env::var("src_remove") {
|
||||||
Ok(value) => value != "false",
|
Ok(value) => value != "false",
|
||||||
Err(_) => true,
|
Err(_) => true,
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user