pthbs

Packaging Through Hashed Build Scripts
git clone https://ccx.te2000.cz/git/pthbs
Log | Files | Refs | Submodules | README

mdev-scripts (471B)


      1 {% extends "genlinks" %}
      2 {%- block script %}
      3 #+{{pkg_install_name("busybox")}}
      4 #+{{pkg_install_name("zsh")}}
      5 #+{{pkg_install_name("pthbs-banginstall")}}
      6 #@git:{{submodule.current["mdev-conf"]}}:{{name}}
      7 
      8 {% include "functions/vars" %}
      9 def_prefix
     10 def_dest
     11 
     12 cd '{{name}}'
     13 mkdir -p "$dest"
     14 for script in persistent-storage dvbdev ptpdev usbdev; do
     15 	mv -v $script mdev-hook-$script
     16 	chmod +x mdev-hook-$script
     17 	pthbs-banginstall mdev-hook-$script "$dest"
     18 done
     19 {% endblock %}