Fix for debian-installer dependency bug

This commit is contained in:
Ruben Rodriguez 2020-06-13 04:37:20 -04:00
parent fbb09c7b5b
commit 37cdfb3c87
2 changed files with 58 additions and 0 deletions

30
helpers/make-kmod Normal file
View file

@ -0,0 +1,30 @@
#!/bin/sh
#
# Copyright (C) 2020 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
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
#
VERSION=1
. ./config
sed 's/dh_makeshlibs.*/dh_makeshlibs --add-udeb=libkmod2-udeb -- -c4/' -i debian/rules
# Note, only needed on bionic-updates
# After this, systemd needs to be built to fix udev-udeb dependencies
changelog "Fixed bug in debian-installer integration"
compile