little_upgrade

This commit is contained in:
Milan Meduna 2019-07-08 21:34:29 +02:00
parent 3aa59630cc
commit 2561ed6328
5 changed files with 11 additions and 2 deletions

3
README.md Normal file
View file

@ -0,0 +1,3 @@
My zfs builds and simple script to install it on ubuntu (tested on Bionic and Disco)

View file

@ -8,3 +8,4 @@ make -s -j$(nproc)
make -j1 deb-dkms make -j1 deb-dkms
make -j1 deb-utils make -j1 deb-utils
mv *.deb ../pkgs mv *.deb ../pkgs
cp replace_packages_ubuntu pkgs/replace_packages_ubuntu

View file

@ -1,5 +1,5 @@
#!/bin/bash #!/bin/bash
apt update apt update
apt-get install python3 python3-dev python3-setuptools python3-cffi dkms python3-distutils gdebi -y apt-get install python3 python3-dev python3-setuptools python3-cffi dkms python3-distutils gdebi -y
apt remove "zfs*" -y apt remove "zfs*" libnvpair1 libnvpair1linux libuutil1linux libzfs2linux libzpool2linux -y
for file in *$1*.deb; do sudo gdebi -q --non-interactive $file; done for file in *$1*.deb; do sudo gdebi -q --non-interactive $file; done

View file

@ -1,5 +1,5 @@
#!/bin/bash #!/bin/bash
apt update apt update
apt-get install python3 python3-dev python3-setuptools python3-cffi dkms python3-distutils gdebi -y apt-get install python3 python3-dev python3-setuptools python3-cffi dkms python3-distutils gdebi -y
apt remove "zfs*" -y apt remove "zfs*" libnvpair1 libnvpair1linux libuutil1linux libzfs2linux libzpool2linux -y
for file in *$1*.deb; do sudo gdebi -q --non-interactive $file; done for file in *$1*.deb; do sudo gdebi -q --non-interactive $file; done

5
replace_packages_ubuntu Normal file
View file

@ -0,0 +1,5 @@
#!/bin/bash
apt update
apt-get install python3 python3-dev python3-setuptools python3-cffi dkms python3-distutils gdebi -y
apt remove "zfs*" libnvpair1 libnvpair1linux libuutil1linux libzfs2linux libzpool2linux -y
for file in *$1*.deb; do sudo gdebi -q --non-interactive $file; done