чување 1c4fe3b58f6f90637959d59d2de201dd561ee810
родитељ 590fe56e1c58f6a184dce46abe646da3d52ef256
Аутор: Страхиња Радић <contact@strahinja.org>
Датум: Fri, 5 Aug 2022 12:36:37 +0200
Update README and TODO
Signed-off-by: Страхиња Радић <contact@strahinja.org>
Diffstat:
| M | FAQ | | | 30 | +++++++++++++++++++++--------- |
| M | TODO | | | 6 | ++++-- |
измењених датотека: 2, додавања: 25(+), брисања: 11(-)
diff --git a/FAQ b/FAQ
@@ -30,9 +30,14 @@ A: What business? Use whatever software you like, or don't, it's up to you.
Q: How do I install a package?
A: cd / && xz -dc /pkg/some_pkg.tar.xz | tar -xf -
+ or use mkpk(1)[1]:
+ mkpk install some_pkg
+ (when there is a tarball in /pkg).
Q: How do I uninstall a package?
A: cd / && xz -dc /pkg/some_pkg.tar.xz | tar -tf - | xargs rm
+ or use mkpk(1):
+ mkpk uninstall some_pkg
Remove unwanted empty directories manually.
Q: How do I find a package the $file belongs to?
@@ -49,19 +54,19 @@ A: License for each individual program is its own. License for files in this
In contrast, glibc (not used here) is mainly licensed under the LGPL v2.1+,
which requires software using it to provide means for it to be potentially
combined with modified versions of glibc (eg. have *.o files and makefiles or
- just full source code available[1]).
+ just full source code available[2]).
Scripts used to build the binary form of Galeb are publicly available, and
they use publicly available source code for all the constituent parts, so the
requirements of GPL and LGPL are satisfied. Anyone can create modified
versions of those scripts and the software they operate on according to their
respective licenses. Furthermore, Expat license is considered compatible with
- the GPL by the FSF.[2]
+ the GPL by the FSF.[3]
Since some of the goals of Galeb are simplification and minimalism as much as
comfortably possible, musl-libc was chosen over glibc, even if glibc has a
stricter (and thus ultimately better for *all* the users) license. Refer to
- [3].
+ [4].
Q: Why is /usr a link to /, instead of /bin being a link to /usr/bin etc?
A: Galeb doesn't follow FHS. Instead, it builds on https://sta.li/filesystem/
@@ -125,9 +130,14 @@ A: Quoting `man fakechroot`:
Obviously, for both reasons, this combination can't be used here.
- You are _expected_ to at least set your username in lib/env.sh before running
- bootstrap scripts. In general, you should always inspect any scripts before
- running them (especially as root).
+ After the first boot, a packaging system mkpk(1) is used to build and install
+ packages. It uses PRoot[5] to obtain root access necessary to create package
+ tarballs.
+
+ You are correct to be concerned about running unknown scripts as root. That's
+ why you should always inspect any scripts before running them (especially as
+ root). You are _expected_ to at least set your username in lib/env.sh before
+ running bootstrap scripts.
Q: Why use LibreSSL instead of BearSSL?
A: Python doesn't support it yet (apparently?):
@@ -170,6 +180,8 @@ A: Because the default console font, LatArCyrHeb-16, doesn't support some
https://git.sr.ht/~strahinja/fonts/
-[1]: https://www.gnu.org/licenses/gpl-faq.html#LGPLStaticVsDynamic
-[2]: https://www.gnu.org/licenses/license-list.html#Expat
-[3]: https://www.etalabs.net/compare_libcs.html
+[1]: https://git.sr.ht/~strahinja/mkpk/
+[2]: https://www.gnu.org/licenses/gpl-faq.html#LGPLStaticVsDynamic
+[3]: https://www.gnu.org/licenses/license-list.html#Expat
+[4]: https://www.etalabs.net/compare_libcs.html
+[5]: https://proot-me.github.io/
diff --git a/TODO b/TODO
@@ -2,9 +2,11 @@ TODO
====
[~] Add "ports" system using mk
- [~] Working on mkpk
- [ ] Add sacc
+ [x] Working on mkpk - Done
+ [x] Add sacc
[ ] Add neomutt
+ [ ] Add a ton of packages added by bootstrap script
+ [ ] Also convert .md5 -> .sha512
Low priority