mrrl

Minimal Reliable Reproducible Linux
git clone https://ccx.te2000.cz/git/mrrl
Log | Files | Refs | Submodules | README

busybox-mtd-utils (671B)


      1 #!/usr/bin/env pthbs-build
      2 #+busybox.23105cf3c52263661c44f7d855ae5dfc7287f5f8b60d6a026dedee24f4cf7a2e
      3 #+busybox.504428034e649f598212c8994966e36667178683ec90987355f495ad3ca4abac
      4 
      5 mkdir -p "$pthbs_destdir/home/ccx/versions/$pthbs_package"
      6 cd "$pthbs_destdir/home/ccx/versions/$pthbs_package"
      7 bb=$(which busybox)
      8 mkdir command
      9 for exe in \
     10 nanddump  \
     11 nandwrite  \
     12 ubiattach  \
     13 ubidetach  \
     14 ubimkvol  \
     15 ubirename  \
     16 ubirmvol  \
     17 ubirsvol  \
     18 ubiupdatevol; do
     19 	ln -sf "$bb" command/$exe
     20 	case $exe in
     21 		(false);;
     22 		(*) ./command/$exe --help || exit $?;;
     23 	esac
     24 	printf '%s\t%s\n' "./command/$exe" "./command/$exe" >>.install-links.new 
     25 done
     26 mv .install-links.new .install-links