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.a0af8a5860e7fa278d39404f06a382633b7e2122d85c16bb2e22b1804cdd1654
      3 #+busybox.379b7b2d8316b3678245563c8e592d71e6c380bc22a735c30c1c0e6f8f60caf3
      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