debian-installer-repository: add secondary packages for d-i
This commit is contained in:
parent
9d824d53cc
commit
e3acf4eb64
12 changed files with 360 additions and 0 deletions
|
|
@ -97,6 +97,35 @@ SYSLOG_NETINST="path-to/syslog_netinstall"
|
||||||
|
|
||||||
Just like before, this will provide a list of source packages necessary to build for our udeb repository, be ware that some helpers for these source packages might already exist, errors finding the source package mean source packages are required from debian.
|
Just like before, this will provide a list of source packages necessary to build for our udeb repository, be ware that some helpers for these source packages might already exist, errors finding the source package mean source packages are required from debian.
|
||||||
|
|
||||||
|
### 3) Secondary udeb dependencies
|
||||||
|
|
||||||
|
This final set of packages derive from dependencies of the prior ones (1,2), this list is obtained from the sbuild log, it can be fetched by parsing the build log, for this example the `amd64` arch is used.
|
||||||
|
On the build debian-directory we parse the failing build log, _*amd64.build_ for this example.
|
||||||
|
|
||||||
|
Getting the udeb list
|
||||||
|
```
|
||||||
|
$ ls *amd64.build
|
||||||
|
debian-installer_20210731+deb11u5+11.0trisquel9_amd64.build
|
||||||
|
|
||||||
|
$ sed -n '/The following packages have unmet dependencies:/,/Unable to correct problems, you have held broken packages/p' *amd64.build| \
|
||||||
|
awk -F 'Depends:' '{print$2}'| \
|
||||||
|
awk '{print$1}'|awk 'NF'| \
|
||||||
|
awk '!seen[$0]++'| \
|
||||||
|
sort
|
||||||
|
```
|
||||||
|
|
||||||
|
Getting the source packages names for the helper packages,
|
||||||
|
```
|
||||||
|
$ apt-cache madison $(sed -n '/The following packages have unmet dependencies:/,/Unable to correct problems, you have held broken packages/p' *amd64.build| \
|
||||||
|
awk -F 'Depends:' '{print$2}'| \
|
||||||
|
awk '{print$1}'|awk 'NF'| \
|
||||||
|
awk '!seen[$0]++'| \
|
||||||
|
sort)|grep aramo| \
|
||||||
|
awk '{print$1}'| \
|
||||||
|
awk '!seen[$0]++'| \
|
||||||
|
sort
|
||||||
|
```
|
||||||
|
|
||||||
## Set upstream source
|
## Set upstream source
|
||||||
|
|
||||||
Once finding source packages required from debian as several debian-installer packages has been droped from upstream Ubuntu, targeting the use of debian **stable** as source repository.
|
Once finding source packages required from debian as several debian-installer packages has been droped from upstream Ubuntu, targeting the use of debian **stable** as source repository.
|
||||||
|
|
|
||||||
|
|
@ -39,3 +39,14 @@ util-linux
|
||||||
wget
|
wget
|
||||||
wireless-regdb
|
wireless-regdb
|
||||||
xfsprogs
|
xfsprogs
|
||||||
|
#secondary dependencies
|
||||||
|
alsa-lib
|
||||||
|
expat
|
||||||
|
libcap2
|
||||||
|
libtextwrap
|
||||||
|
libxcrypt
|
||||||
|
ncurses
|
||||||
|
openssl
|
||||||
|
pcre2
|
||||||
|
slang2
|
||||||
|
zlib
|
||||||
|
|
|
||||||
32
helpers/make-alsa-lib
Normal file
32
helpers/make-alsa-lib
Normal file
|
|
@ -0,0 +1,32 @@
|
||||||
|
#!/bin/sh
|
||||||
|
#
|
||||||
|
# Copyright (C) 2022 Luis Guzmán <ark@switnet.org>
|
||||||
|
#
|
||||||
|
# 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
|
||||||
|
#
|
||||||
|
|
||||||
|
##
|
||||||
|
# This helper is part of a series of packages that are now droppped on upstream
|
||||||
|
# Ubuntu, therefore in order to build a working debian-installer we now fetch
|
||||||
|
# such packages from Debian in order to build the required udeb packages.
|
||||||
|
##
|
||||||
|
|
||||||
|
VERSION=0
|
||||||
|
NETINST=true
|
||||||
|
. ./config
|
||||||
|
|
||||||
|
|
||||||
|
changelog "Fetch and build as udeb dependency for debian-installer."
|
||||||
|
compile
|
||||||
32
helpers/make-expat
Normal file
32
helpers/make-expat
Normal file
|
|
@ -0,0 +1,32 @@
|
||||||
|
#!/bin/sh
|
||||||
|
#
|
||||||
|
# Copyright (C) 2022 Luis Guzmán <ark@switnet.org>
|
||||||
|
#
|
||||||
|
# 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
|
||||||
|
#
|
||||||
|
|
||||||
|
##
|
||||||
|
# This helper is part of a series of packages that are now droppped on upstream
|
||||||
|
# Ubuntu, therefore in order to build a working debian-installer we now fetch
|
||||||
|
# such packages from Debian in order to build the required udeb packages.
|
||||||
|
##
|
||||||
|
|
||||||
|
VERSION=0
|
||||||
|
NETINST=true
|
||||||
|
. ./config
|
||||||
|
|
||||||
|
|
||||||
|
changelog "Fetch and build as udeb dependency for debian-installer."
|
||||||
|
compile
|
||||||
32
helpers/make-libcap2
Normal file
32
helpers/make-libcap2
Normal file
|
|
@ -0,0 +1,32 @@
|
||||||
|
#!/bin/sh
|
||||||
|
#
|
||||||
|
# Copyright (C) 2022 Luis Guzmán <ark@switnet.org>
|
||||||
|
#
|
||||||
|
# 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
|
||||||
|
#
|
||||||
|
|
||||||
|
##
|
||||||
|
# This helper is part of a series of packages that are now droppped on upstream
|
||||||
|
# Ubuntu, therefore in order to build a working debian-installer we now fetch
|
||||||
|
# such packages from Debian in order to build the required udeb packages.
|
||||||
|
##
|
||||||
|
|
||||||
|
VERSION=0
|
||||||
|
NETINST=true
|
||||||
|
. ./config
|
||||||
|
|
||||||
|
|
||||||
|
changelog "Fetch and build as udeb dependency for debian-installer."
|
||||||
|
compile
|
||||||
32
helpers/make-libtextwrap
Normal file
32
helpers/make-libtextwrap
Normal file
|
|
@ -0,0 +1,32 @@
|
||||||
|
#!/bin/sh
|
||||||
|
#
|
||||||
|
# Copyright (C) 2022 Luis Guzmán <ark@switnet.org>
|
||||||
|
#
|
||||||
|
# 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
|
||||||
|
#
|
||||||
|
|
||||||
|
##
|
||||||
|
# This helper is part of a series of packages that are now droppped on upstream
|
||||||
|
# Ubuntu, therefore in order to build a working debian-installer we now fetch
|
||||||
|
# such packages from Debian in order to build the required udeb packages.
|
||||||
|
##
|
||||||
|
|
||||||
|
VERSION=0
|
||||||
|
NETINST=true
|
||||||
|
. ./config
|
||||||
|
|
||||||
|
|
||||||
|
changelog "Fetch and build as udeb dependency for debian-installer."
|
||||||
|
compile
|
||||||
32
helpers/make-libxcrypt
Normal file
32
helpers/make-libxcrypt
Normal file
|
|
@ -0,0 +1,32 @@
|
||||||
|
#!/bin/sh
|
||||||
|
#
|
||||||
|
# Copyright (C) 2022 Luis Guzmán <ark@switnet.org>
|
||||||
|
#
|
||||||
|
# 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
|
||||||
|
#
|
||||||
|
|
||||||
|
##
|
||||||
|
# This helper is part of a series of packages that are now droppped on upstream
|
||||||
|
# Ubuntu, therefore in order to build a working debian-installer we now fetch
|
||||||
|
# such packages from Debian in order to build the required udeb packages.
|
||||||
|
##
|
||||||
|
|
||||||
|
VERSION=0
|
||||||
|
NETINST=true
|
||||||
|
. ./config
|
||||||
|
|
||||||
|
|
||||||
|
changelog "Fetch and build as udeb dependency for debian-installer."
|
||||||
|
compile
|
||||||
32
helpers/make-ncurses
Normal file
32
helpers/make-ncurses
Normal file
|
|
@ -0,0 +1,32 @@
|
||||||
|
#!/bin/sh
|
||||||
|
#
|
||||||
|
# Copyright (C) 2022 Luis Guzmán <ark@switnet.org>
|
||||||
|
#
|
||||||
|
# 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
|
||||||
|
#
|
||||||
|
|
||||||
|
##
|
||||||
|
# This helper is part of a series of packages that are now droppped on upstream
|
||||||
|
# Ubuntu, therefore in order to build a working debian-installer we now fetch
|
||||||
|
# such packages from Debian in order to build the required udeb packages.
|
||||||
|
##
|
||||||
|
|
||||||
|
VERSION=0
|
||||||
|
NETINST=true
|
||||||
|
. ./config
|
||||||
|
|
||||||
|
|
||||||
|
changelog "Fetch and build as udeb dependency for debian-installer."
|
||||||
|
compile
|
||||||
32
helpers/make-openssl
Normal file
32
helpers/make-openssl
Normal file
|
|
@ -0,0 +1,32 @@
|
||||||
|
#!/bin/sh
|
||||||
|
#
|
||||||
|
# Copyright (C) 2022 Luis Guzmán <ark@switnet.org>
|
||||||
|
#
|
||||||
|
# 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
|
||||||
|
#
|
||||||
|
|
||||||
|
##
|
||||||
|
# This helper is part of a series of packages that are now droppped on upstream
|
||||||
|
# Ubuntu, therefore in order to build a working debian-installer we now fetch
|
||||||
|
# such packages from Debian in order to build the required udeb packages.
|
||||||
|
##
|
||||||
|
|
||||||
|
VERSION=0
|
||||||
|
NETINST=true
|
||||||
|
. ./config
|
||||||
|
|
||||||
|
|
||||||
|
changelog "Fetch and build as udeb dependency for debian-installer."
|
||||||
|
compile
|
||||||
32
helpers/make-pcre2
Normal file
32
helpers/make-pcre2
Normal file
|
|
@ -0,0 +1,32 @@
|
||||||
|
#!/bin/sh
|
||||||
|
#
|
||||||
|
# Copyright (C) 2022 Luis Guzmán <ark@switnet.org>
|
||||||
|
#
|
||||||
|
# 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
|
||||||
|
#
|
||||||
|
|
||||||
|
##
|
||||||
|
# This helper is part of a series of packages that are now droppped on upstream
|
||||||
|
# Ubuntu, therefore in order to build a working debian-installer we now fetch
|
||||||
|
# such packages from Debian in order to build the required udeb packages.
|
||||||
|
##
|
||||||
|
|
||||||
|
VERSION=0
|
||||||
|
NETINST=true
|
||||||
|
. ./config
|
||||||
|
|
||||||
|
|
||||||
|
changelog "Fetch and build as udeb dependency for debian-installer."
|
||||||
|
compile
|
||||||
32
helpers/make-slang2
Normal file
32
helpers/make-slang2
Normal file
|
|
@ -0,0 +1,32 @@
|
||||||
|
#!/bin/sh
|
||||||
|
#
|
||||||
|
# Copyright (C) 2022 Luis Guzmán <ark@switnet.org>
|
||||||
|
#
|
||||||
|
# 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
|
||||||
|
#
|
||||||
|
|
||||||
|
##
|
||||||
|
# This helper is part of a series of packages that are now droppped on upstream
|
||||||
|
# Ubuntu, therefore in order to build a working debian-installer we now fetch
|
||||||
|
# such packages from Debian in order to build the required udeb packages.
|
||||||
|
##
|
||||||
|
|
||||||
|
VERSION=0
|
||||||
|
NETINST=true
|
||||||
|
. ./config
|
||||||
|
|
||||||
|
|
||||||
|
changelog "Fetch and build as udeb dependency for debian-installer."
|
||||||
|
compile
|
||||||
32
helpers/make-zlib
Normal file
32
helpers/make-zlib
Normal file
|
|
@ -0,0 +1,32 @@
|
||||||
|
#!/bin/sh
|
||||||
|
#
|
||||||
|
# Copyright (C) 2022 Luis Guzmán <ark@switnet.org>
|
||||||
|
#
|
||||||
|
# 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
|
||||||
|
#
|
||||||
|
|
||||||
|
##
|
||||||
|
# This helper is part of a series of packages that are now droppped on upstream
|
||||||
|
# Ubuntu, therefore in order to build a working debian-installer we now fetch
|
||||||
|
# such packages from Debian in order to build the required udeb packages.
|
||||||
|
##
|
||||||
|
|
||||||
|
VERSION=0
|
||||||
|
NETINST=true
|
||||||
|
. ./config
|
||||||
|
|
||||||
|
|
||||||
|
changelog "Fetch and build as udeb dependency for debian-installer."
|
||||||
|
compile
|
||||||
Loading…
Add table
Add a link
Reference in a new issue