distro: Add oE2403SP3-RVA20 rootfs target

This commit is contained in:
2026-02-02 16:26:11 +08:00
parent e40435ed72
commit 8df9401aaf
10 changed files with 153 additions and 0 deletions

View File

@@ -0,0 +1,4 @@
RELEASE_NAME := 24.03-LTS-SP3
$(foreach receipe_dir,$(filter-out %.mk,$(wildcard $(CURRENT_DIR)userspace/*)),$(eval $(call add_receipe,$(receipe_dir))))
$(foreach device_dir,$(filter-out %.mk,$(wildcard $(CURRENT_DIR)bsp/*)),$(eval $(call add_device,$(device_dir))))

View File

@@ -0,0 +1,3 @@
#!/usr/bin/env sh
rm "${ROOTFS_DIR}/etc/yum.repos.d/bootstrap.repo"

View File

@@ -0,0 +1,119 @@
NetworkManager
NetworkManager-wifi
acl
at
attr
audit
authselect
basesystem
bash
bash-completion
bc
bpftool
bzip2
chrony
cifs-utils
coreutils
cpio
cronie
crontabs
cryptsetup
curl
dbus
dnf
dnf-plugins-core
dos2unix
dosfstools
e2fsprogs
ed
ethtool
file
filesystem
firewalld
glibc
gnupg2
grubby
hostname
ima-evm-utils
initscripts
iproute
iprutils
iptstate
iputils
irqbalance
kbd
less
libstoragemgmt
libteam
logrotate
lshw
lsof
lsscsi
lvm2
mailcap
man-db
man-pages
mdadm
mlocate
mtr
nano
ncurses
net-tools
nfs-utils
nmap
openEuler-latest-release
openEuler-release
openssh
openssh-clients
openssh-server
parted
passwd
pciutils
pinfo
plymouth
policycoreutils
procps-ng
psacct
quota
rdma-core
realmd
rng-tools
rootfiles
rpm
rsync
rsyslog
rsyslog-relp
security-tool
selinux-policy-mls
selinux-policy-targeted
setup
sg3_utils
shadow
smartmontools
strace
sudo
symlinks
sysfsutils
systemd
systemd-udev
tar
tcpdump
time
traceroute
tree
tuned
unzip
usbutils
util-linux
util-linux-user
vim-enhanced
vim-minimal
virt-what
wget
which
words
xfsdump
xfsprogs
yum
zip
zsh

View File

@@ -0,0 +1,6 @@
#!/usr/bin/env sh
cat << EOF | chroot "${ROOTFS_DIR}" passwd root
openEuler12#$
openEuler12#$
EOF

View File

@@ -0,0 +1,4 @@
#!/usr/bin/env sh
echo openeuler-riscv64 >> "${ROOTFS_DIR}/etc/hostname"
echo "127.0.0.1 openeuler-riscv64" >> "${ROOTFS_DIR}/etc/hosts"

View File

@@ -0,0 +1,3 @@
#!/usr/bin/env sh
cat "${ROOTFS_DIR}/usr/share/zoneinfo/Asia/Shanghai" > "${ROOTFS_DIR}/etc/localtime"

View File

@@ -0,0 +1,3 @@
#!/usr/bin/env sh
touch "${ROOTFS_DIR}/etc/fstab"

View File

@@ -0,0 +1,2 @@
RECEIPE_NAME := base
COMPRESSION := zstd

View File

@@ -0,0 +1,8 @@
[everything]
name=everything
baseurl=https://repo.openeuler.org/openEuler-24.03-LTS-SP3/everything/riscv64/rva20/$basearch/
metalink=https://mirrors.openeuler.org/metalink?repo=$releasever/everything/riscv64/rva20&arch=$basearch
metadata_expire=1h
enabled=1
gpgcheck=1
gpgkey=http://repo.openeuler.org/openEuler-24.03-LTS-SP3/everything/riscv64/rva20/$basearch/RPM-GPG-KEY-openEuler