linux-samsung-janice-downstream: fix build (MR 5105)

Part of https://gitlab.com/postmarketOS/pmaports/-/issues/2401

[ci:skip-build]: already built successfully in CI
This commit is contained in:
Stefan Hansson 2024-05-06 19:13:52 +02:00
parent 1a39ee6b56
commit b295060231
No known key found for this signature in database
GPG key ID: 8A700086A9FE41FD
5 changed files with 36 additions and 3 deletions

View file

@ -0,0 +1,22 @@
From 6083916292864215fe4af6c0829186d5cc520f7f Mon Sep 17 00:00:00 2001
From: Stefan Hansson <newbyte@postmarketos.org>
Date: Mon, 6 May 2024 19:08:35 +0200
Subject: [PATCH] Fix lzo piggy
---
arch/arm/boot/compressed/piggy.lzo.S | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/boot/compressed/piggy.lzo.S b/arch/arm/boot/compressed/piggy.lzo.S
index a425ad95..236976d8 100644
--- a/arch/arm/boot/compressed/piggy.lzo.S
+++ b/arch/arm/boot/compressed/piggy.lzo.S
@@ -1,4 +1,4 @@
- .section .piggydata,#alloc
+ .section .piggydata, "a"
.globl input_data
input_data:
.incbin "arch/arm/boot/compressed/piggy.lzo"
--
2.45.0

View file

@ -4,7 +4,7 @@
pkgname=linux-samsung-janice-downstream
pkgver=3.0.101
pkgrel=0
pkgrel=1
pkgdesc="Samsung Galaxy S Advance kernel from Epirex"
arch="armhf"
_carch="arm"
@ -36,6 +36,9 @@ source="
03_change_modules_install_dir.patch
04_change_dhd_firmware_dir.patch
05_fix_fb_rgb_mode.patch
linux3.0-8933-1-replace-Sun-Solaris-style-flag-on-section.patch
linux3.0-fix-piggy.lzo.S.patch
linux3.4-fix-piggy.gzip.S.patch
init
"
builddir="$srcdir/$_repository-$_commit"
@ -75,7 +78,8 @@ package() {
modules_install
}
sha512sums="bb8218d803ec27f983449a43d14df75122311609a39e5b57095f4e8933752a2699fa0d4df1674aeee7d6e3a439551dacc9af3cab26b6e3e71f0441a4f16693df linux-samsung-janice-downstream-ac7219c4b8dcec7bc5a598d42c6be0db4aa36332.tar.gz
sha512sums="
bb8218d803ec27f983449a43d14df75122311609a39e5b57095f4e8933752a2699fa0d4df1674aeee7d6e3a439551dacc9af3cab26b6e3e71f0441a4f16693df linux-samsung-janice-downstream-ac7219c4b8dcec7bc5a598d42c6be0db4aa36332.tar.gz
803896d20e7a26214652daf3848c6b0db015477525e02ccb7299029c3d4dd97a45c164af7dde869325e51599baa4491491a56f9b7c358d7b68d505fdae730a44 config-samsung-janice.armhf
ea1d3b5a234fa565e3c1a792de48f4fc4e6023d281d303c8e319c7ef28edc5739ab0e4dea0139a41f0a5c7d03e27921ccaa214fd0ac5c72245a094ce60128864 00_fix_return_address.patch
3c8e15644eced6f73c5c7d3df0437f3a9f750f4ec32d744c9e4266ccccef9e38316a898227a898a9fc0696bee0281c0e14312de2944e27a696f18a42deabb383 01_remove_ramdisks_from_initramfs.patch
@ -83,4 +87,8 @@ ef5b912c26fea4ab882592bdf7487942c64b123de8d25d08d976f29743f311742ee2f773bf2d110d
27bba6d070db6f499d030680c020906fc3238dc60d90a9b2f0f3a355ef15beb227c1cf48b7858156264fe10f7943772ed00a837be36ba4b80de8199f0383e688 03_change_modules_install_dir.patch
47533412cc91d2ead046039c90180ebc459e157017be85dca69cd882a183963448beb973f2cb7eaccbcd35354b0ed6a668131cd39ea30393dd52fd93b7e26815 04_change_dhd_firmware_dir.patch
67278735e21c00d4208e76788d3d99ff1bd9c628608f60a73004f6deb8a4bc75fdf7c1e43108010c57aa6da06aa5e49292b109a2c4421212e181abaca45ea44d 05_fix_fb_rgb_mode.patch
ef01c51c138239a49c1d00ae0074a07fed267d64934cf3d436a8ff057b91692ee2d040a45eacbb0dc62d5017a708c4dca2fadc282c850fa72aeebcfa787e2cbc init"
66ab793bb1fa50a07f10e2cdb0f49ea05a787c6b1fe5358e69a76e43295ac5be3b68cdf6a882e868bfe6969cac981c5545587cd57eee4b5cec26078ae0ecaa1c linux3.0-8933-1-replace-Sun-Solaris-style-flag-on-section.patch
8837c884060d87232ba3fa9fce0e815d7ddf33c82ad49260426fe83754baa2f4d92a36a17561083ac8b3674564b7433b3141cacc63b520deec52bbcc1d92d5c9 linux3.0-fix-piggy.lzo.S.patch
080745ca4ecaa804ee1df26ea81975ca93b74372e0c08322a6c481e97807495ae6ceb6cc77653afa24f9f2df45da8ebf8e5de6b06037fbb08e0279877ce42188 linux3.4-fix-piggy.gzip.S.patch
ef01c51c138239a49c1d00ae0074a07fed267d64934cf3d436a8ff057b91692ee2d040a45eacbb0dc62d5017a708c4dca2fadc282c850fa72aeebcfa787e2cbc init
"

View file

@ -0,0 +1 @@
../../.shared-patches/linux/linux3.0-8933-1-replace-Sun-Solaris-style-flag-on-section.patch

View file

@ -0,0 +1 @@
../../.shared-patches/linux/linux3.0-fix-piggy.lzo.S.patch

View file

@ -0,0 +1 @@
../../.shared-patches/linux/linux3.4-fix-piggy.gzip.S.patch