This commit is contained in:
Your Name 2023-12-26 13:11:20 +03:00
parent 3ea8dfe675
commit 228b27ece1
3 changed files with 9 additions and 6 deletions

8
FHS Normal file
View File

@ -0,0 +1,8 @@
/ - Root
* /init - init system
* /bin/ - binary files
* /etc/ - configs
* /lib/ - libraries
* /usr/ - users
* /mnt/ - mounted devices
* /kernel - Kernel

View File

@ -2,7 +2,6 @@
mu_repo="https://git.macaw.me/8nl/micro-utils" mu_repo="https://git.macaw.me/8nl/micro-utils"
ml_repo="git://git.musl-libc.org/musl" ml_repo="git://git.musl-libc.org/musl"
cc_repo="git://repo.or.cz/tinycc.git" cc_repo="git://repo.or.cz/tinycc.git"
sh_repo=""
echo "* Download micro-utils sources..." echo "* Download micro-utils sources..."
git clone $mu_repo src git clone $mu_repo src
@ -12,6 +11,3 @@ git clone $ml_repo libc
echo "* Download tcc sources..." echo "* Download tcc sources..."
git clone $cc_repo tcc git clone $cc_repo tcc
echo "* Download sh sources..."
git clone $sh_repo sh

View File

@ -3,12 +3,11 @@ echo " * Build micro-utils"
echo " * Make rootfs " echo " * Make rootfs "
mkdir $RTFS/bin mkdir $RTFS/bin
mkdir $RTFS/etc mkdir $RTFS/etc
mkdir $RTFS/mnt
mkdir $RTFS/dev mkdir $RTFS/dev
mkdir $RTFS/sys mkdir $RTFS/sys
mkdir $RTFS/proc mkdir $RTFS/proc
mkdir $RTFS/media
mkdir -p $RTFS/usr/root mkdir -p $RTFS/usr/root
mkdir $RTFS/boot
cd src cd src