readme add

This commit is contained in:
2025-09-02 21:23:01 +03:00
parent 968216f5f2
commit 1955a606b7
3 changed files with 35 additions and 1 deletions

1
.gitignore vendored
View File

@ -4,6 +4,7 @@
!.cargo
!.cargo/**
!install.sh
!Readme.md
!src
!src/**

33
Readme.md Normal file
View 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

View File

@ -35,7 +35,7 @@ pub fn install(repo: &String, pkgname: &String) -> Result<(), bool> {
hook(&repo, &pkgname);
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",
Err(_) => true,
};