summaryrefslogtreecommitdiff
path: root/sys-boot
diff options
context:
space:
mode:
authorroot <root@alpha.trunkmasters.com>2026-08-02 03:04:46 -0500
committerroot <root@alpha.trunkmasters.com>2026-08-02 03:04:46 -0500
commit964d39efcc2b2e0270dd6ab8341eb85bb5275852 (patch)
treed9c187d35f14c1f5bc6ca70898cae4706daee5b7 /sys-boot
parent6344ec0d45ab5c6dc7f52b9c7ba2a4fdfa37fb17 (diff)
downloadbaldeagleos-repo-964d39efcc2b2e0270dd6ab8341eb85bb5275852.tar.gz
baldeagleos-repo-964d39efcc2b2e0270dd6ab8341eb85bb5275852.tar.xz
baldeagleos-repo-964d39efcc2b2e0270dd6ab8341eb85bb5275852.zip
Adding metadata
Diffstat (limited to 'sys-boot')
-rw-r--r--sys-boot/ventoy-bin/Manifest1
-rw-r--r--sys-boot/ventoy-bin/files/sanitize.patch156
-rw-r--r--sys-boot/ventoy-bin/files/ventoy4
-rw-r--r--sys-boot/ventoy-bin/files/ventoy-extend-persistent3
-rw-r--r--sys-boot/ventoy-bin/files/ventoy-persistent3
-rw-r--r--sys-boot/ventoy-bin/files/ventoy.desktop9
-rw-r--r--sys-boot/ventoy-bin/files/ventoy.install17
-rw-r--r--sys-boot/ventoy-bin/files/ventoygui9
-rw-r--r--sys-boot/ventoy-bin/files/ventoyplugson4
-rw-r--r--sys-boot/ventoy-bin/files/ventoyweb4
-rw-r--r--sys-boot/ventoy-bin/metadata.xml9
-rw-r--r--sys-boot/ventoy-bin/ventoy-bin-1.1.17.ebuild96
12 files changed, 0 insertions, 315 deletions
diff --git a/sys-boot/ventoy-bin/Manifest b/sys-boot/ventoy-bin/Manifest
deleted file mode 100644
index 85a66683abad..000000000000
--- a/sys-boot/ventoy-bin/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST ventoy-1.1.17-linux.tar.gz 20291141 BLAKE2B 3307d33a63dc2f4d88699eb021cc6754d0e7e551e656083b79a1916557ab28d85c51ad5a64f45a624c6ff33b7930f9da23f4bdc8a25ea82a8a03b64979aaedc1 SHA512 81a6a78da3b4b7e4eca0cdc49fdc4208d92718237f39cc2b752945aacf8a7db3fe3cd59d509623efb1cd02742c1efc603c4d6df8f0681c934d910aa4cf30c853
diff --git a/sys-boot/ventoy-bin/files/sanitize.patch b/sys-boot/ventoy-bin/files/sanitize.patch
deleted file mode 100644
index 83ac25ebe1e0..000000000000
--- a/sys-boot/ventoy-bin/files/sanitize.patch
+++ /dev/null
@@ -1,156 +0,0 @@
-Author: DuckSoft <realducksoft@gmail.com>
-
-I just cannot stand such a dirty package.
-Let me do some optimisations.
-
-If you are interested to improve this patch, welcome to mail me.
-
-diff -rup old/tool/ventoy_lib.sh new/tool/ventoy_lib.sh
---- tool/ventoy_lib.sh 2021-12-02 16:59:42.148650182 +0100
-+++ tool/ventoy_lib.sh 2021-12-02 17:01:17.214720518 +0100
-@@ -29,7 +29,7 @@ vterr() {
- }
-
- vtdebug() {
-- echo "$*" >> ./log.txt
-+ echo "$*" >>/var/log/ventoy.log
- }
-
- vtoy_gen_uuid() {
-@@ -52,30 +52,6 @@ vtoy_gen_uuid() {
-
- check_tool_work_ok() {
-
-- if echo 1 | hexdump > /dev/null; then
-- vtdebug "hexdump test ok ..."
-- else
-- vtdebug "hexdump test fail ..."
-- ventoy_false
-- return
-- fi
--
-- if mkexfatfs -V > /dev/null; then
-- vtdebug "mkexfatfs test ok ..."
-- else
-- vtdebug "mkexfatfs test fail ..."
-- ventoy_false
-- return
-- fi
--
-- if vtoycli fat -T; then
-- vtdebug "vtoycli fat test ok ..."
-- else
-- vtdebug "vtoycli fat test fail ..."
-- ventoy_false
-- return
-- fi
--
- vtdebug "tool check success ..."
- ventoy_true
- }
-@@ -311,7 +287,7 @@ format_ventoy_disk_mbr() {
- else
- vtdebug "format disk by fdisk ..."
-
--fdisk $DISK >>./log.txt 2>&1 <<EOF
-+fdisk $DISK >>/var/log/ventoy.log 2>&1 <<EOF
- o
- n
- p
-diff -rup old/tool/VentoyWorker.sh new/tool/VentoyWorker.sh
---- tool/VentoyWorker.sh 2021-12-02 16:59:31.485642239 +0100
-+++ tool/VentoyWorker.sh 2021-12-02 17:02:00.326752183 +0100
-@@ -105,7 +105,7 @@ vtdebug "MODE=$MODE FORCE=$FORCE RESERVE
- if check_tool_work_ok; then
- vtdebug "check tool work ok"
- else
-- vterr "Some tools can not run on current system. Please check log.txt for details."
-+ vterr "Some tools can not run on current system. Please check /var/log/ventoy.log for details."
- exit 1
- fi
-
-diff -rup old/Ventoy2Disk.sh new/Ventoy2Disk.sh
---- Ventoy2Disk.sh 2021-12-02 16:59:05.205622608 +0100
-+++ Ventoy2Disk.sh 2021-12-02 17:03:29.037816991 +0100
-@@ -32,48 +32,4 @@ echo " https://www.ventoy.net"
- echo '**********************************************'
- echo ''
-
--
--if ! [ -f ./boot/boot.img ]; then
-- if [ -d ./grub ]; then
-- echo "Don't run Ventoy2Disk.sh here, please download the released install package, and run the script in it."
-- else
-- echo "Please run under the correct directory!"
-- fi
-- exit 1
--fi
--
--echo "############# Ventoy2Disk $* [$TOOLDIR] ################" >> ./log.txt
--date >> ./log.txt
--
--#decompress tool
--echo "decompress tools" >> ./log.txt
--cd ./tool/$TOOLDIR
--
--ls *.xz > /dev/null 2>&1
--if [ $? -eq 0 ]; then
-- [ -f ./xzcat ] && chmod +x ./xzcat
--
-- for file in $(ls *.xz); do
-- echo "decompress $file" >> ./log.txt
-- xzcat $file > ${file%.xz}
-- [ -f ./${file%.xz} ] && chmod +x ./${file%.xz}
-- [ -f ./$file ] && rm -f ./$file
-- done
--fi
--
--cd ../../
--chmod +x -R ./tool/$TOOLDIR
--
--
--if [ -f /bin/bash ]; then
-- /bin/bash ./tool/VentoyWorker.sh $*
--else
-- ash ./tool/VentoyWorker.sh $*
--fi
-+./tool/VentoyWorker.sh $*
-diff -rup old/VentoyPlugson.sh new/VentoyPlugson.sh
---- VentoyPlugson.sh 2022-12-24 06:00:51.000000000 -0700
-+++ VentoyPlugson.sh 2022-12-24 08:18:59.154268575 -0700
-@@ -34,8 +34,6 @@ if echo $machine | grep -E -q 'aarch64|a
- TOOLDIR=aarch64
- elif echo $machine | grep -E -q 'x86_64|amd64'; then
- TOOLDIR=x86_64
--elif echo $machine | grep -E -q 'mips64'; then
-- TOOLDIR=mips64el
- elif echo $machine | grep -E -q 'i[3-6]86'; then
- TOOLDIR=i386
- else
-diff -rup old/VentoyWeb.sh new/VentoyWeb.sh
---- VentoyWeb.sh 2021-12-02 16:58:51.885612627 +0100
-+++ VentoyWeb.sh 2021-12-02 17:04:43.437871014 +0100
-@@ -15,12 +15,6 @@ print_err() {
- echo ""
- }
-
--uid=$(id -u)
--if [ $uid -ne 0 ]; then
-- print_err "Please use sudo or run the script as root."
-- exit 1
--fi
--
- OLDDIR=$(pwd)
-
- if uname -m | egrep -q 'aarch64|arm64'; then
-@@ -85,8 +79,8 @@ if ps -ef | grep "V2DServer.*$HOST.*$POR
- exit 1
- fi
-
--LOGFILE=log.txt
--#delete the log.txt if it's more than 8MB
-+LOGFILE=/var/log/ventoy.log
-+#delete the ventoy.log if it's more than 8MB
- if [ -f $LOGFILE ]; then
- logsize=$(stat -c '%s' $LOGFILE)
- if [ $logsize -gt 8388608 ]; then
diff --git a/sys-boot/ventoy-bin/files/ventoy b/sys-boot/ventoy-bin/files/ventoy
deleted file mode 100644
index b6feeaa81b1d..000000000000
--- a/sys-boot/ventoy-bin/files/ventoy
+++ /dev/null
@@ -1,4 +0,0 @@
-#!/bin/sh
-
-cd /opt/ventoy || exit 1
-exec ./Ventoy2Disk.sh "$@"
diff --git a/sys-boot/ventoy-bin/files/ventoy-extend-persistent b/sys-boot/ventoy-bin/files/ventoy-extend-persistent
deleted file mode 100644
index 9616aa3a3d15..000000000000
--- a/sys-boot/ventoy-bin/files/ventoy-extend-persistent
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/bin/sh
-
-exec /opt/ventoy/ExtendPersistentImg.sh "$@"
diff --git a/sys-boot/ventoy-bin/files/ventoy-persistent b/sys-boot/ventoy-bin/files/ventoy-persistent
deleted file mode 100644
index c955fb6f158f..000000000000
--- a/sys-boot/ventoy-bin/files/ventoy-persistent
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/bin/sh
-
-exec /opt/ventoy/CreatePersistentImg.sh "$@"
diff --git a/sys-boot/ventoy-bin/files/ventoy.desktop b/sys-boot/ventoy-bin/files/ventoy.desktop
deleted file mode 100644
index f74c7739cf8a..000000000000
--- a/sys-boot/ventoy-bin/files/ventoy.desktop
+++ /dev/null
@@ -1,9 +0,0 @@
-[Desktop Entry]
-Type=Application
-Icon=ventoy
-Name=Ventoy
-Exec=ventoygui
-Terminal=false
-Hidden=false
-Categories=Utility
-Comment=Ventoy2Disk GUI
diff --git a/sys-boot/ventoy-bin/files/ventoy.install b/sys-boot/ventoy-bin/files/ventoy.install
deleted file mode 100644
index 7ff7012f41a9..000000000000
--- a/sys-boot/ventoy-bin/files/ventoy.install
+++ /dev/null
@@ -1,17 +0,0 @@
-post_install() {
- printf "$(tput setaf 4) ->$(tput sgr0; tput bold) %s$(tput sgr0)\n" \
- 'NOTE: You can create persistence images for ventoy with the "ventoy-persistent" command,'
- printf "$(tput setaf 4) ->$(tput sgr0; tput bold) %s$(tput sgr0)\n" \
- ' and losslessly expand persistence ".dat" files using "ventoy-extend-persistent",'
- printf "$(tput setaf 4) ->$(tput sgr0; tput bold) %s$(tput sgr0)\n" \
- ' which are shortcuts to "/opt/ventoy/CreatePersistentImg.sh" and'
- printf "$(tput setaf 4) ->$(tput sgr0; tput bold) %s$(tput sgr0)\n" \
- ' "/opt/ventoy/ExtendPersistentImg.sh", respectively.'
- printf "$(tput setaf 4) ->$(tput sgr0; tput bold) %s$(tput sgr0)\n" \
- ' (See https://www.ventoy.net/en/plugin_persistence.html for documentation.)'
-}
-
-post_remove() {
- # Remove log file
- rm -rf /opt/ventoy/
-}
diff --git a/sys-boot/ventoy-bin/files/ventoygui b/sys-boot/ventoy-bin/files/ventoygui
deleted file mode 100644
index 887535f72f76..000000000000
--- a/sys-boot/ventoy-bin/files/ventoygui
+++ /dev/null
@@ -1,9 +0,0 @@
-#!/bin/sh
-
-cd /opt/ventoy || exit 1
-
-if [ "$(uname -m)" = "x86_64" ]; then
- ./VentoyGUI.x86_64 "$@"
-elif [ "$(uname -m)" = "aarch64" ]; then
- ./VentoyGUI.aarch64 "$@"
-fi
diff --git a/sys-boot/ventoy-bin/files/ventoyplugson b/sys-boot/ventoy-bin/files/ventoyplugson
deleted file mode 100644
index f1e7b2d362b4..000000000000
--- a/sys-boot/ventoy-bin/files/ventoyplugson
+++ /dev/null
@@ -1,4 +0,0 @@
-#!/bin/sh
-
-cd /opt/ventoy || exit 1
-exec ./VentoyPlugson.sh "$@"
diff --git a/sys-boot/ventoy-bin/files/ventoyweb b/sys-boot/ventoy-bin/files/ventoyweb
deleted file mode 100644
index fefe649136c6..000000000000
--- a/sys-boot/ventoy-bin/files/ventoyweb
+++ /dev/null
@@ -1,4 +0,0 @@
-#!/bin/sh
-
-cd /opt/ventoy || exit 1
-exec ./VentoyWeb.sh "$@"
diff --git a/sys-boot/ventoy-bin/metadata.xml b/sys-boot/ventoy-bin/metadata.xml
deleted file mode 100644
index e01cbd79c083..000000000000
--- a/sys-boot/ventoy-bin/metadata.xml
+++ /dev/null
@@ -1,9 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://docs.baldeagleos.com/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="person">
- <email>bakedsnake@vagrantz.xyz</email>
- <name>bakedsnake</name>
- </maintainer>
- <origin>baldeagleos-repo</origin>
-</pkgmetadata>
diff --git a/sys-boot/ventoy-bin/ventoy-bin-1.1.17.ebuild b/sys-boot/ventoy-bin/ventoy-bin-1.1.17.ebuild
deleted file mode 100644
index 455d16fc00a3..000000000000
--- a/sys-boot/ventoy-bin/ventoy-bin-1.1.17.ebuild
+++ /dev/null
@@ -1,96 +0,0 @@
-# Copyright 2024-2026 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit desktop xdg
-
-DESCRIPTION="Creator of bootable USBs, with ability to copy ISOs, persistence storage"
-HOMEPAGE="https://www.ventoy.net"
-SRC_URI="https://github.com/ventoy/Ventoy/releases/download/v${PV}/ventoy-${PV}-linux.tar.gz"
-
-S="${WORKDIR}"/ventoy-${PV}
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="~amd64"
-
-RESTRICT="strip mirror"
-
-RDEPEND="
- app-accessibility/at-spi2-core:2
- dev-libs/glib:2
- sys-fs/dosfstools
- || ( sys-fs/exfatprogs sys-fs/exfat-utils )
- sys-fs/fuse-exfat
- sys-block/parted
- x11-libs/cairo
- x11-libs/gdk-pixbuf:2
- x11-libs/gtk+:3
- x11-libs/pango
-"
-# sys-fs/fuse-exfat is needed for mount, without it:
-# mount: /mnt: unknown filesystem type 'exfat'
-
-QA_PREBUILT="*" # Against "does not respect LDFLAGS"
-
-CARCH="x86_64"
-
-src_prepare() {
- # Decompress tools
- pushd tool/$CARCH || die
- for file in *.xz; do
- xzcat "$file" >"${file%.xz}" || die
- chmod +x "${file%.xz}" || die
- done
-
- # Cleanup .xz crap
- rm -fv ./*.xz || die
- popd || die
-
- # Apply sanitize patch
- eapply -p0 "${FILESDIR}/sanitize.patch"
-
- # Log location
- sed -i 's|log\.txt|/var/log/ventoy.log|g' WebUI/static/js/languages.js tool/languages.json || die
-
- # Non-POSIX compliant scripts
- sed -i 's|bin/sh|usr/bin/env bash|g' tool/{ventoy_lib.sh,VentoyWorker.sh} || die
-
- # Clean up unused binaries
- # Preserving mkexfatfs and mount.exfat-fuse because exfatprogs is incompatible
- for binary in xzcat hexdump; do
- rm -fv tool/$CARCH/$binary || die
- done
- default
-}
-
-src_install() {
- insopts -m0644
- insinto /opt/ventoy/boot/
- doins boot/*
- insinto /opt/ventoy/ventoy/
- doins ventoy/*
- insopts -m0755
- insinto /opt/ventoy/tool/
- doins tool/*.{cer,glade,json,sh,xz}
- insinto /opt/ventoy/tool/$CARCH/
- doins tool/$CARCH/*
- insinto /opt/ventoy/
- doins ./*.sh plugin WebUI "VentoyGUI.$CARCH"
-
- # Install .desktop
- insopts -m0644
- insinto /usr/share/pixmaps/
- newins WebUI/static/img/VentoyLogo.png ventoy.png
- domenu "${FILESDIR}/ventoy.desktop"
-
- # Link system binaries
- for binary in xzcat hexdump; do
- dosym -r /usr/bin/$binary /opt/ventoy/tool/$CARCH/$binary
- done
-
- dobin "${FILESDIR}"/ventoy{,gui,web,plugson,-{,extend-}persistent}
-
- rm "${D}"/opt/ventoy/tool/x86_64/Ventoy2Disk.gtk2 || die
-}