diff --git a/README.en.md b/README.en.md index 4ba9de03ed4daef0eefc5ecff50dc4cb022057af..a26432db1f6958ceb7e2ebccd3c6a4aaf32caab2 100644 --- a/README.en.md +++ b/README.en.md @@ -33,6 +33,23 @@ sh create docker sh - p vim enhanced - p dhcp server To create a base image and add group: file server, as well as Python 36 and Python 38, you can use the following command: sh create docker.sh - g file server - g python36- g python38 3. liveISO +Configure modifiable parameters in livemedia.conf; + +ADD_ PACKAGES can add RPM packages installed in Squashfs.img of live ISO +ADD_ GROUPS can increase the RPM group installed in Squashfs.img of live ISO +ADD_ FILES can add the specified file/folder to the specified location in Squashfs.img of live ISO, +Location can be achieved through ADD_ FILES_ TARGET settings + +Finally, execute sh create-liveiso.sh +4. initrd + +Configure modifiable parameters in create-initrd-ramos-from-cur-os.conf: +ADD_ DRIVERS can add kernel modules installed in initrd +OMIT_ DRIVERS can exclude certain kernel modules from initrd +INSTALL_ PROG can add user mode command tools installed in initrd +INCLUDE_ FILE_ DIRECTORY * can add specified files/folders to initrd + +Finally, execute sh create-initrd-ramos-from-cur-os.sh #### Contribution diff --git a/README.md b/README.md index 9ddcd85cc6af34aad7eea9dc17b818b6e4579a6a..c32d609a1a7faf1538931a93b9d964695d039833 100644 --- a/README.md +++ b/README.md @@ -29,6 +29,20 @@ sh create-docker.sh -p vim-enhanced -p dhcp-server 希望创建base image,并增加group: file-server, 同时增加python36和python38,可以使用如下命令: sh create-docker.sh -g file-server -g python36 -g python38 3. liveISO +在livemedia.conf中配置可修改参数; +ADD_PACKAGES 可以增加live ISO的squashfs.img中安装的RPM包 +ADD_GROUPS 可以增加live ISO的squashfs.img中安装的RPM group +ADD_FILES 可以增加指定文件/文件夹到live ISO的squashfs.img中的指定位置, + 位置可以通过ADD_FILES_TARGET设定 +最后,执行sh create-liveiso.sh +2. initrd +在create-initrd-ramos-from-cur-os.conf中配置可修改参数; +ADD_DRIVERS 可以增加安装到initrd中的内核模块 +OMIT_DRIVERS 可以从initrd中排除掉某些内核模块 +INSTALL_PROG 可以增加安装到initrd中的用户态命令工具 +INCLUDE_FILE_DIRECTORY* 可以增加指定文件/文件夹到initrd中 +最后,执行sh create-initrd-ramos-from-cur-os.sh + #### 参与贡献