Commit 8f018c89 by Ruben Rodriguez

make-linux-lts-xenial: corrected zfs removal

parent e5bc4d83
#!/bin/sh
#
# Copyright (C) 2008-2016 Ruben Rodriguez <ruben@trisquel.info>
# Copyright (C) 2008-2018 Ruben Rodriguez <ruben@trisquel.info>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
......@@ -42,11 +42,10 @@ cp /tmp/preserve/* . -a
# Remove ZFS
rm zfs spl debian/scripts/misc/update-zfs.sh -rf
#sed '/zfs/d; /spl/d' -i debian.master/reconstruct
/bin/sed 's/spl-dkms, zfs-dkms//' -i debian/control debian.master/control.d/vars.generic debian.master/control.d/vars.* \
debian.xenial/control.d/vars.generic debian.xenial/control.d/vars.*
/bin/sed '/zfs/d' -i debian/rules debian.master/rules.d/* debian.master/d-i/modules/fs-core-modules debian.master/control.d/generic.inclusion-list debian.master/abi/*/*/*.modules debian.master/control.d/vars.* \
debian.xenial/rules.d/* debian.xenial/d-i/modules/fs-core-modules debian.xenial/control.d/generic.inclusion-list debian.xenial/abi/*/*/*.modules debian.xenial/control.d/vars.*
/bin/sed 's/spl-dkms, zfs-dkms//' -i debian/control debian.master/control.d/vars.generic debian.master/control.d/vars.*
/bin/sed '/^define build_zfs/,/^endef/d; /^define install_zfs/,/^endef/d; /zfs/d' -i debian/rules.d/2-binary-arch.mk
/bin/sed '/ifeq ($(do_zfs),false)/,/endif/d' -i debian/rules
/bin/sed '/zfs/d' -i debian.master/rules.d/* debian.master/d-i/modules/fs-core-modules debian.master/control.d/generic.inclusion-list debian.master/abi/*/*/*.modules debian/rules debian.master/control.d/vars.*
# Remove VBox
rm ubuntu/vbox* -rf
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment