Skip to content

usrlinks: Add version 1.0 #2138

Merged
merged 1 commit into from
Jun 1, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
64 changes: 64 additions & 0 deletions usrlinks-1.0-0.be0
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
#!/usr/bin/env beesh

# BEE_VERSION usrlinks-1.0-0

# more info: https://foo.bar.com

SRCURL[0]=""

# PATCHURL+=()

# build_in_sourcedir

# sourcesubdir_append src

#mee_extract() {
# bee_extract "${@}"
#}

#mee_patch() {
# bee_patch "${@}"
#}

#mee_configure() {
# bee_configure
#}

#mee_build() {
# bee_build
#}

mee_install() {

# list generated 7.5.2021
# all files /bin/$f -> /usr/bin/$f which are unknown to bee
mkdir -p $D/bin
for f in \
tcsh more gzip grep echo arch sed pwd csh sh ps ls cp bashbug umount loadkeys \
openvt passwd mxlilo hostname gunzip findmnt os-release setfont kbd_mode \
uname rmdir ping6 mount mknod mkdir lsmod lsblk login fuser fgrep false \
egrep dmesg chown chmod chgrp killall zcat true sync stty sort ping kill \
gtar date bash rpm env cat rm mv ln df dd \
; do
ln -s /usr/bin/$f $D/bin/$f
done

# list generated 7.5.2021
# all files /sbin/$f -> /usr/sbin/$f which are unknown to bee
mkdir -p $D/sbin
for f in \
raw ss mkfs pam_tally fdisk chcpu fsck ifcfg genl blkid tc insmod.static \
depmod blockdev agetty make-automaps,v ping-till-reachable rtmon fsck.cramfs \
pivot_root ctrlaltdel lnstat insmod ifstat findfs ctstat cfdisk losetup rmmod \
rtpr nstat ifup ip nvidiactl installkernel mkfs.minix tune3ware.pl fsck.minix \
startup-hostname make-automaps hwclock xfs_repair mkfs.xfs mkfs.bfs fsfreeze \
wipefs fsck.xfs mkfs.cramfs sysctl swapon rtstat rtacct sfdisk routel routef \
mkswap swaplabel fstrim modinfo swapoff modprobe switch_root \
pmenzel marked this conversation as resolved.
Show resolved Hide resolved
; do
ln -s /usr/sbin/$f $D/sbin/$f
done
}

#mee_install_post() {
# exit
#}