Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
package-helpers
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
trisquel
package-helpers
Commits
30051e83
Commit
30051e83
authored
1 year ago
by
Luis Guzmán
Browse files
Options
Downloads
Patches
Plain Diff
debian-installer: rebuild debian-installer to match glibc update.
parent
90fbe6de
No related branches found
No related tags found
1 merge request
!1271
debian-installer: rebuild debian-installer to match glibc update.
Pipeline
#1172
passed
1 year ago
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
helpers/make-debian-installer
+12
-6
12 additions, 6 deletions
helpers/make-debian-installer
with
12 additions
and
6 deletions
helpers/make-debian-installer
+
12
−
6
View file @
30051e83
...
...
@@ -18,12 +18,21 @@
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
#
VERSION
=
1
5
VERSION
=
1
6
EXTERNAL
=
'deb-src http://ftp.debian.org/debian bullseye main'
REPOKEY
=
0E98404D386FA1D9
NETINST
=
true
.
./config
# Set kernel from release/main packages.
set_kernel_release
()
{
KRNL_REL
=
6.2
LASTKERNEL
=
"
$(
apt-cache madison
-c
${
LOCAL_APT
}
/etc/apt_
${
CODENAME
}
.conf linux-hwe-
$KRNL_REL
-tools-common
|
\
grep
${
CODENAME
}
/main |
\
awk
'{print$3}'
|head
-n1
|
\
cut
-d
.
-f1
,2,3
)
"
}
cat
<<
EOF
>
${
LOCAL_APT
}
/etc/apt_
${
CODENAME
}
.conf
Dir::State "
${
LOCAL_APT
}
/var/lib/apt";
Dir::State::status "
${
LOCAL_APT
}
/var/lib/dpkg/status";
...
...
@@ -45,12 +54,9 @@ EOF
find build/pkg-lists
-type
f | xargs
-r
sed
-i
/media-retriever/d
apt-get update
-c
${
LOCAL_APT
}
/etc/apt_
${
CODENAME
}
.conf
# Get available kernel at release/main packages.
LASTKERNEL
=
"
$(
apt-cache madison
-c
${
LOCAL_APT
}
/etc/apt_
${
CODENAME
}
.conf linux-hwe-6.2-tools-common|
\
grep
${
CODENAME
}
/main|
\
awk
'{print$3}'
|head
-n1
|
\
cut
-d
.
-f1
,2,3
)
"
# Set kernel release for images
set_kernel_release
sed
-i
"s|LINUX_KERNEL_ABI ?= .*|LINUX_KERNEL_ABI ?=
$LASTKERNEL
|"
build/config/common
sed
-i
'/LINUX_KERNEL_ABI/d'
build/config/ppc64el.cfg
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment