#!/bin/sh
VERSION=5.15.61-5.9.31
tar --files-from=file.list -xJvf ../linux-t1-$VERSION.tar.xz
mv linux-t1-$VERSION linux-t1-$VERSION-orig
cp -rf ./linux-t1-$VERSION-new ./linux-t1-$VERSION
diff --unified -Nr linux-t1-$VERSION-orig linux-t1-$VERSION > linux-t1-$VERSION-host-limits.patch
mv linux-t1-$VERSION-host-limits.patch ../patches
rm -rf ./linux-t1-$VERSION
rm -rf ./linux-t1-$VERSION-orig