-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2138 from mariux64/add-usrlinks
usrlinks: Add version 1.0
- Loading branch information
Showing
1 changed file
with
64 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
#} |