forked from OERV-BSP/image-builder
Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 2d880b61a8 |
@@ -0,0 +1,3 @@
|
||||
DEVICE_NAME := SOPHGO-SG2044_EVB
|
||||
|
||||
$(foreach profile_dir,$(filter-out %.mk,$(wildcard $(CURRENT_DIR)*)),$(eval $(call add_device_profile,$(profile_dir))))
|
||||
@@ -0,0 +1,24 @@
|
||||
OUTPUT_FORMAT=partitioned_disk
|
||||
PARTITION_TABLE_TYPE=GUID
|
||||
|
||||
PARTITION_1_OFFSET=1MB
|
||||
PARTITION_1_SIZE=499M
|
||||
PARTITION_1_NAME="RuyiOS-boot"
|
||||
PARTITION_1_UUID=
|
||||
PARTITION_1_TYPE=bls_boot
|
||||
PARTITION_1_ATTRS=legacy_boot
|
||||
PARTITION_1_USAGE=MOUNTPOINT
|
||||
PARTITION_1_MOUNTPOINT="/boot"
|
||||
PARTITION_1_FS=vfat
|
||||
PARTITION_1_FS_UUID=
|
||||
|
||||
PARTITION_2_OFFSET=
|
||||
PARTITION_2_SIZE=
|
||||
PARTITION_2_NAME="RuyiOS-root"
|
||||
PARTITION_2_UUID=
|
||||
PARTITION_2_TYPE=linux_root_riscv64
|
||||
PARTITION_2_ATTRS=
|
||||
PARTITION_2_USAGE=MOUNTPOINT
|
||||
PARTITION_2_MOUNTPOINT="/"
|
||||
PARTITION_2_FS=ext4
|
||||
PARTITION_2_FS_UUID=
|
||||
+2
@@ -0,0 +1,2 @@
|
||||
dracut
|
||||
u-boot-menu
|
||||
+6
@@ -0,0 +1,6 @@
|
||||
#!/usr/bin/env sh
|
||||
|
||||
cat << EOF | column -t | tee "${ROOTFS_DIR}/etc/fstab"
|
||||
UUID=$($get_fs_uuid_by_mountpoint /) / ext4 errors=remount-ro 0 1
|
||||
UUID=$($get_fs_uuid_by_mountpoint /boot) /boot vfat defaults 0 2
|
||||
EOF
|
||||
+13
@@ -0,0 +1,13 @@
|
||||
#!/usr/bin/env sh
|
||||
|
||||
. "${ROOTFS_DIR}/etc/os-release"
|
||||
|
||||
cat << EOF | tee "${ROOTFS_DIR}/etc/default/u-boot"
|
||||
U_BOOT_PROMPT="2"
|
||||
U_BOOT_MENU_LABEL="${PRETTY_NAME}"
|
||||
U_BOOT_PARAMETERS="rootwait rw rd.multipath=0"
|
||||
U_BOOT_ROOT=root=UUID="$($get_fs_uuid_by_mountpoint /)"
|
||||
U_BOOT_SEPARATE_BOOT="true"
|
||||
U_BOOT_FDT_DIR="/dtb-"
|
||||
U_BOOT_FDT=sophgo/sg2044-sophgo-srd3-10.dtb
|
||||
EOF
|
||||
+1
@@ -0,0 +1 @@
|
||||
oerv-firstboot
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
kernel-sophgo-sg2044-revyos-6.17
|
||||
kernel-sophgo-sg2044-revyos-6.17-headers
|
||||
kernel-sophgo-sg2044-revyos-6.17-tools
|
||||
@@ -0,0 +1 @@
|
||||
PROFILE_NAME := extlinux
|
||||
@@ -0,0 +1,15 @@
|
||||
[ruyi_rva23]
|
||||
name=ruyi_rva23
|
||||
type=rpm-md
|
||||
baseurl=https://build-repo.tarsier-infra.isrc.ac.cn/openEuler:/24.03:/SP3:/RVA23:/RuyiBranding/RVA23/
|
||||
enabled=1
|
||||
priority=97
|
||||
gpgcheck=0
|
||||
|
||||
[ruyi_common]
|
||||
name=ruyi_common
|
||||
type=rpm-md
|
||||
baseurl=https://build-repo.tarsier-infra.isrc.ac.cn/openEuler:/24.03:/SP3:/RVA23:/RuyiBranding/standard_riscv64/
|
||||
enabled=1
|
||||
priority=98
|
||||
gpgcheck=0
|
||||
@@ -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))))
|
||||
@@ -0,0 +1,2 @@
|
||||
RuyiOS-release
|
||||
RuyiOS-repos
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
#!/usr/bin/env sh
|
||||
|
||||
rm "${ROOTFS_DIR}/etc/yum.repos.d/RuyiOS.repo"
|
||||
@@ -0,0 +1,122 @@
|
||||
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
|
||||
dracut-config-generic
|
||||
dracut-config-rescue
|
||||
dracut-network
|
||||
e2fsprogs
|
||||
ed
|
||||
ethtool
|
||||
file
|
||||
filesystem
|
||||
firewalld
|
||||
glibc
|
||||
gnupg2
|
||||
grubby
|
||||
hostname
|
||||
ima-evm-utils
|
||||
initscripts
|
||||
iproute
|
||||
iprutils
|
||||
iptstate
|
||||
iputils
|
||||
irqbalance
|
||||
kbd
|
||||
less
|
||||
libstoragemgmt
|
||||
libteam
|
||||
linux-firmware
|
||||
logrotate
|
||||
lshw
|
||||
lsof
|
||||
lsscsi
|
||||
lvm2
|
||||
mailcap
|
||||
man-db
|
||||
man-pages
|
||||
mdadm
|
||||
mlocate
|
||||
mtr
|
||||
nano
|
||||
ncurses
|
||||
net-tools
|
||||
nfs-utils
|
||||
nmap
|
||||
openEuler-latest-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
|
||||
@@ -0,0 +1,3 @@
|
||||
passwd
|
||||
yum
|
||||
dnf
|
||||
+6
@@ -0,0 +1,6 @@
|
||||
#!/usr/bin/env sh
|
||||
|
||||
cat << EOF | chroot "${ROOTFS_DIR}" passwd root
|
||||
openEuler12#$
|
||||
openEuler12#$
|
||||
EOF
|
||||
@@ -0,0 +1,4 @@
|
||||
#!/usr/bin/env sh
|
||||
|
||||
echo ruyios >> "${ROOTFS_DIR}/etc/hostname"
|
||||
echo "127.0.0.1 ruyios" >> "${ROOTFS_DIR}/etc/hosts"
|
||||
@@ -0,0 +1,3 @@
|
||||
#!/usr/bin/env sh
|
||||
|
||||
cat "${ROOTFS_DIR}/usr/share/zoneinfo/Asia/Shanghai" > "${ROOTFS_DIR}/etc/localtime"
|
||||
@@ -0,0 +1,3 @@
|
||||
#!/usr/bin/env sh
|
||||
|
||||
touch "${ROOTFS_DIR}/etc/fstab"
|
||||
@@ -0,0 +1,2 @@
|
||||
RECEIPE_NAME := base
|
||||
COMPRESSION := zstd
|
||||
@@ -0,0 +1,27 @@
|
||||
# Temporary repo for openeuler-repos package installation
|
||||
|
||||
[OS]
|
||||
name=OS
|
||||
baseurl=https://build-repo.tarsier-infra.isrc.ac.cn/openEuler:/24.03:/SP3:/Everything:/RVA23/standard_riscv64/
|
||||
# metalink=https://mirrors.openeuler.org/metalink?repo=$releasever/OS&arch=$basearch
|
||||
metadata_expire=1h
|
||||
enabled=1
|
||||
priority=99
|
||||
gpgcheck=0
|
||||
# gpgkey=http://mirror.isrc.ac.cn/openeuler/openEuler-24.03-LTS-SP2/OS/$basearch/RPM-GPG-KEY-openEuler
|
||||
|
||||
[ruyi_rva23]
|
||||
name=ruyi_rva23
|
||||
type=rpm-md
|
||||
baseurl=https://build-repo.tarsier-infra.isrc.ac.cn/openEuler:/24.03:/SP3:/RVA23:/RuyiBranding/RVA23/
|
||||
enabled=1
|
||||
priority=97
|
||||
gpgcheck=0
|
||||
|
||||
[ruyi_common]
|
||||
name=ruyi_common
|
||||
type=rpm-md
|
||||
baseurl=https://build-repo.tarsier-infra.isrc.ac.cn/openEuler:/24.03:/SP3:/RVA23:/RuyiBranding/standard_riscv64/
|
||||
enabled=1
|
||||
priority=98
|
||||
gpgcheck=0
|
||||
@@ -0,0 +1,8 @@
|
||||
xorg-*
|
||||
xfwm4
|
||||
xfdesktop
|
||||
xfce4-*
|
||||
xfce4-*-plugin
|
||||
lightdm
|
||||
lightdm-gtk
|
||||
linux-firmware
|
||||
@@ -0,0 +1,3 @@
|
||||
RECEIPE_NAME := xfce4
|
||||
COMPRESSION := zstd
|
||||
EXTENDS := base
|
||||
@@ -0,0 +1,6 @@
|
||||
[Factory_RISC-V_XFCE]
|
||||
name=Xfce Desktop Environment (24.03_SP2)
|
||||
type=rpm-md
|
||||
baseurl=https://build-repo.tarsier-infra.isrc.ac.cn//Factory:/RISC-V:/XFCE/24.03_SP2/
|
||||
enabled=1
|
||||
gpgcheck=0
|
||||
@@ -0,0 +1,5 @@
|
||||
DISTRO_NAME := RuyiOS
|
||||
PACKAGE_MANAGER := yum
|
||||
|
||||
#$(foreach mk,$(wildcard $(CURRENT_DIR)*/release.mk),$(eval $(call stack_include,$(mk))))
|
||||
$(foreach rel_dir,$(filter-out %.mk,$(wildcard $(CURRENT_DIR)*)),$(eval $(call add_distro_release,$(rel_dir))))
|
||||
@@ -0,0 +1,3 @@
|
||||
DEVICE_NAME := ESWin-EIC7700
|
||||
|
||||
$(foreach profile_dir,$(filter-out %.mk,$(wildcard $(CURRENT_DIR)*)),$(eval $(call add_device_profile,$(profile_dir))))
|
||||
@@ -0,0 +1 @@
|
||||
../../../../24.03-lts-sp1/bsp/eswin-eic7700/extlinux/image-layout.conf
|
||||
@@ -0,0 +1 @@
|
||||
../../../../24.03-lts-sp1/bsp/eswin-eic7700/extlinux/packages.d
|
||||
@@ -0,0 +1 @@
|
||||
../../../../24.03-lts-sp1/bsp/eswin-eic7700/extlinux/profile.mk
|
||||
@@ -0,0 +1,20 @@
|
||||
[bsp-common]
|
||||
name=BSP-Common
|
||||
type=rpm-md
|
||||
baseurl=https://diamond.oerv.ac.cn//OERV:/BSP/oe-multi/
|
||||
enabled=1
|
||||
gpgcheck=0
|
||||
|
||||
[bsp-eswin-eic7700]
|
||||
name=BSP-EIC7700
|
||||
type=rpm-md
|
||||
baseurl=https://diamond.oerv.ac.cn//OERV:/BSP:/ESWin:/EIC7700/24.03-LTS-SP2/
|
||||
enabled=1
|
||||
gpgcheck=0
|
||||
|
||||
[bsp-eswin-eic7700-multirel]
|
||||
name=BSP-EIC7700-MultiRel
|
||||
type=rpm-md
|
||||
baseurl=https://diamond.oerv.ac.cn//OERV:/BSP:/ESWin:/EIC7700/oe-multi/
|
||||
enabled=1
|
||||
gpgcheck=0
|
||||
@@ -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))))
|
||||
@@ -0,0 +1 @@
|
||||
openEuler-repos
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
#!/usr/bin/env sh
|
||||
|
||||
rm "${ROOTFS_DIR}/etc/yum.repos.d/bootstrap.repo"
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
#!/usr/bin/env sh
|
||||
|
||||
sed -i 's/metalink=/# metalink=/g' "${ROOTFS_DIR}/etc/yum.repos.d/openEuler.repo"
|
||||
sed -i 's/repo.openeuler.org/mirror.isrc.ac.cn\/openeuler/g' "${ROOTFS_DIR}/etc/yum.repos.d/openEuler.repo"
|
||||
@@ -0,0 +1 @@
|
||||
Base
|
||||
@@ -0,0 +1,3 @@
|
||||
passwd
|
||||
yum
|
||||
dnf
|
||||
+6
@@ -0,0 +1,6 @@
|
||||
#!/usr/bin/env sh
|
||||
|
||||
cat << EOF | chroot "${ROOTFS_DIR}" passwd root
|
||||
openEuler12#$
|
||||
openEuler12#$
|
||||
EOF
|
||||
@@ -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"
|
||||
@@ -0,0 +1,3 @@
|
||||
#!/usr/bin/env sh
|
||||
|
||||
cat "${ROOTFS_DIR}/usr/share/zoneinfo/Asia/Shanghai" > "${ROOTFS_DIR}/etc/localtime"
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
#!/usr/bin/env sh
|
||||
|
||||
touch "${ROOTFS_DIR}/etc/fstab"
|
||||
@@ -0,0 +1,2 @@
|
||||
RECEIPE_NAME := base
|
||||
COMPRESSION := zstd
|
||||
@@ -0,0 +1,10 @@
|
||||
# Temporary repo for openeuler-repos package installation
|
||||
|
||||
[OS]
|
||||
name=OS
|
||||
baseurl=https://mirror.isrc.ac.cn/openeuler/openEuler-24.03-LTS-SP2/OS/$basearch/
|
||||
# metalink=https://mirrors.openeuler.org/metalink?repo=$releasever/OS&arch=$basearch
|
||||
metadata_expire=1h
|
||||
enabled=1
|
||||
gpgcheck=1
|
||||
gpgkey=http://mirror.isrc.ac.cn/openeuler/openEuler-24.03-LTS-SP2/OS/$basearch/RPM-GPG-KEY-openEuler
|
||||
@@ -0,0 +1,8 @@
|
||||
xorg-*
|
||||
xfwm4
|
||||
xfdesktop
|
||||
xfce4-*
|
||||
xfce4-*-plugin
|
||||
lightdm
|
||||
lightdm-gtk
|
||||
linux-firmware
|
||||
@@ -0,0 +1,3 @@
|
||||
RECEIPE_NAME := xfce4
|
||||
COMPRESSION := zstd
|
||||
EXTENDS := base
|
||||
@@ -0,0 +1,6 @@
|
||||
[Factory_RISC-V_XFCE]
|
||||
name=Xfce Desktop Environment (24.03_SP2)
|
||||
type=rpm-md
|
||||
baseurl=https://build-repo.tarsier-infra.isrc.ac.cn//Factory:/RISC-V:/XFCE/24.03_SP2/
|
||||
enabled=1
|
||||
gpgcheck=0
|
||||
Reference in New Issue
Block a user