https://github.com/axfab/kora-disto
TEST
https://github.com/axfab/kora-disto
Last synced: 9 months ago
JSON representation
TEST
- Host: GitHub
- URL: https://github.com/axfab/kora-disto
- Owner: AxFab
- License: agpl-3.0
- Created: 2020-02-19T07:52:16.000Z (over 6 years ago)
- Default Branch: develop
- Last Pushed: 2021-11-07T23:32:39.000Z (over 4 years ago)
- Last Synced: 2025-05-15T23:44:53.723Z (about 1 year ago)
- Language: Shell
- Size: 65.4 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Kora OS
Kora OS is a hobbyist operating system built from scratch.
All components of the core operating system are original.
This repository contains all scripts and reference to package for a complete rebuild of the distribution.
## Build
The kernel, as all kora package, comes with classical makefile commands.
```
make clean
make
make install
make check
```
The source comes also with a `configure` script, but this one is not generated by tools like automake and will only work if you build on another repository. The goal of the script is only to find the toolchain and save parameters.
```
../path/to/src/configure --target=i386-kora --prefix=../img --syslib=../img
```
However all those commands won't give you much if you don't use a cross-compilor capable to build for the kora system (target like i386-pc-kora).
To get your cross-compilor, you can use the last docker image, or rebuild the toolchain using code from the **kora-os** repository.
## Packages
- **Kora kernel**: The kernel is the core program of the operating system. Its role is to distributed the plateform ressources between application and system modules.
- **Libc**: Standard C library. This library defined the standard way of accessimg system resources for user application.
## Who this script work
```
git clone /kora- src/
cd _/
../../src//configure --target= --prefix=./usr --sysdir=../img
make install
cd _//usr
tar cJf pck//-.tar.xz *
cd _/img
tar xJf pck//-.tar.xz
```
```
git clone src/
cd src/
git checkout
cd _/
resx/bld/.sh
cd _//usr
tar cJf pck//-.tar.xz *
cd _/img
tar xJf pck//-.tar.xz
```
```
cd pck/
wget //-.tar.xz
cd _/img
tar xJf pck//-.tar.xz
```
```
pkg.sh install : --prefix=_/img
pkg.sh download :
pkg.sh create : --prefix=_//usr
```
If version is local and is kora package
```
git clone /kora- src/
../../src//configure --target= --prefix=./usr --sysdir=../img
make install
pkg.sh create :local --prefix=_//usr
pkg.sh install :local --prefix=_/img
```
If is 3rd party forced
```
git clone /kora- src/
git checkout
resx/bld/.sh
pkg.sh create : --prefix=_//usr
pkg.sh install : --prefix=_/img
```
If version is not local
```
pkg.sh install : --prefix=_/img
```