zfs-builds-mm/make_pkg

11 lines
179 B
Bash

#!/bin/bash
#Use dir location as argument
mkdir -p pkgs
cd $1
./autogen.sh
./configure --with-config=user
make -s -j$(nproc)
make -j1 deb-dkms
make -j1 deb-utils
mv *.deb ../pkgs