fix
This commit is contained in:
parent
3ea8dfe675
commit
228b27ece1
8
FHS
Normal file
8
FHS
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
/ - Root
|
||||||
|
* /init - init system
|
||||||
|
* /bin/ - binary files
|
||||||
|
* /etc/ - configs
|
||||||
|
* /lib/ - libraries
|
||||||
|
* /usr/ - users
|
||||||
|
* /mnt/ - mounted devices
|
||||||
|
* /kernel - Kernel
|
@ -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
|
|
||||||
|
@ -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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user