制作openeuler制作livecd

gitee openeuler livecd项目

基于openeuler环境

make install

x86

livecd-creator -d -v --config=./config/euler_x86_64.ks --fslabel=euler-LiveCD --cache=cache --logfile=./livecd.log

arm64真实环境

livecd-creator -d -v --config=./config/euler_aarch6464.ks --fslabel=euler-LiveCD --cache=cache --logfile=./livecd.log

x86环境制作arm64镜像

mkdir -p /home/livecd/chroot
cd /home/livecd

git clone https://gitee.com/luoguangfei/openeuler-livecd-tools.git

rpm -ivh openeuler-livecd-tools/tools/*.rpm

yum groups --forcearch aarch64 --installroot=/home/livecd/chroot install "Development Tools"
yum groups --forcearch aarch64 --installroot=/home/livecd/chroot install "Minimal Install"

mkdir chroot/proc
mkdir chroot/sys
mkdir chroot/dev
mkdir chroot/run

mount -t proc proc chroot/proc
mount -t sysfs sysfs chroot/sys
mount -t devtmpfs udev chroot/dev
mount --bind /run chroot/run

cp /etc/resolv.conf chroot/etc/
chroot chroot

mkdir /home/livecd && cd /home/livecd

livecd-creator -d -v --config=openeuler-livecd-tools/config/euler_aarch64.ks --fslabel=euler-LiveCD --cache=cache-aarch64 --logfile=./livecd.log

你可能感兴趣的:(elasticsearch,大数据,搜索引擎)