11 lines
235 B
Bash
11 lines
235 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
|
|
cp replace_packages_ubuntu pkgs/replace_packages_ubuntu
|