OSDN Git Service

Update README.md
[rebornos/cnchi-gnome-osdn.git] / airootfs / README.md
1 # Reborn-OS
2 ![Deepin_Image](/images/deepin.png)
3
4 ## Download Locations ##
5 - <a href="https://sourceforge.net/projects/antergos-deepin/" class="button">Sourceforge</a> 
6
7 ### About Airootfs
8
9 The `airootfs` folder is kind of like a virtual system. Basically, the `build.sh` script treats the `airootfs` folder as the `/` one on your real system. But through this, it is able to isolate itself from your system, kind of like Docker. 
10
11 ### How to Add Files (And Remove Them)
12
13 **Add Files:**
14 - Simply treat the `airootfs` folder as your root one (`/`) and as such, begin branching out from here. You can already see the `etc` folder present, among others. As such, just create the path, starting from root, to your desired addition in the system and add it in.
15 - **Exception**: the `Home` folder. This folder is not present or understood by the `build.sh` script. Instead, it uses the `airootfs/etc/skel` folder as your future home folder. Therefore, to add a file to the ISOs Home directory, all you need to do is add your file to that `skel` folder.
16 - **One more exception**: the `root` folder. This folder is simply used by the `build.sh` script to store building commands that are intended to be isolated to the future ISO's system, and cannot run at all on your full, real system. As such, you can find the `customize_airootfs.sh` script inside there, which `build.sh` called up in its build to run special commands that should only have an impact on the future ISO - such as enabling certain systemd modules.
17
18 **Remove Files:**
19 - Same as adding, but reverse! Delete away my friend.