-
Notifications
You must be signed in to change notification settings - Fork 48
Open
Description
Hello everyone,
I wrote this little script to install kvdo on Debian 11(.3) (tested with 5.10.0-13 Linux kernel)
DEPENDANCIES="git make linux-headers-$(uname -r)"
WORK_DIRECTORY="/tmp/kvdo/"
apt update && \
apt install -y $DEPENDANCIES && \
#git clone https://github.com/dm-vdo/kvdo.git $WORK_DIRECTORY && \
git clone https://github.com/tigerblue77/kvdo.git $WORK_DIRECTORY && \
cd $WORK_DIRECTORY && \
make -j $(nproc) -C /usr/src/linux-headers-`uname -r` M=`pwd` && \
cd - && \
cp ${WORK_DIRECTORY}vdo/kvdo.ko /lib/modules/$(uname -r) && \
cp ${WORK_DIRECTORY}uds/uds.ko /lib/modules/$(uname -r) && \
apt autoremove --purge -y $DEPENDANCIES && \
rm -Rf $WORK_DIRECTORY
depmod
#update-initramfs -u
#echo uds >>/etc/modules && \
#echo kvdo >> /etc/modules
modprobe kvdo
modprobe uds- Line 6 is commented while waiting for my pull request Restore <5.15 kernels support #52 to be merged
- Can anyone tell me if lines 17-19 are needed ?
Is there a way to make the 13 and 14 lines run in parallel while keeping line 12 "&&" ?(solved in comments)- Don't hesitate to suggest any improvment !
- Once improved, maybe we could add this script to repository's
README.md? - This script is part of my full kvdo + vdo installation script, don't hesitate to check the issue I opened on vdo's github repository
I wrote this script with help of those forum topics :
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels