Skip to content

Commit

Permalink
Merge pull request #2138 from mariux64/add-usrlinks
Browse files Browse the repository at this point in the history
usrlinks: Add version 1.0
  • Loading branch information
donald authored Jun 1, 2021
2 parents e0cf14c + ec892ea commit 19a7895
Showing 1 changed file with 64 additions and 0 deletions.
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 \
; do
ln -s /usr/sbin/$f $D/sbin/$f
done
}

#mee_install_post() {
# exit
#}

0 comments on commit 19a7895

Please sign in to comment.