Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mkinitcpio: version is different #94

Closed
github-actions bot opened this issue Dec 30, 2023 · 5 comments
Closed

mkinitcpio: version is different #94

github-actions bot opened this issue Dec 30, 2023 · 5 comments
Assignees

Comments

@github-actions
Copy link
Contributor

Version is different for mkinitcpio.

CachyOS: 37-2
ArchLinux: 37.1-2

Please update the package.

Bip bop, I'm a bot.

@lseman
Copy link
Contributor

lseman commented Dec 30, 2023

#capybara:diff:mkinitcpio

Copy link
Contributor Author

--- file_b	2023-12-30 14:29:04.398739857 +0000
+++ file_a	2023-12-30 14:29:04.398739857 +0000
@@ -4,7 +4,7 @@
 # Contributor: Thomas Bächler <[email protected]>
 
 pkgname=mkinitcpio
-pkgver=37
+pkgver=37.1
 pkgrel=2
 pkgdesc="Modular initramfs image creation utility"
 arch=('any')
@@ -12,8 +12,7 @@
 license=('GPL')
 depends=('awk' 'mkinitcpio-busybox>=1.19.4-2' 'kmod' 'util-linux>=2.23' 'libarchive' 'coreutils'
          'bash' 'binutils' 'diffutils' 'findutils' 'grep' 'filesystem>=2011.10-1' 'zstd' 'systemd')
-makedepends=('asciidoc')
-checkdepends=('bash-bats' 'bash-bats-assert' 'lzop')
+checkdepends=('bats' 'bats-assert' 'lzop')
 optdepends=('gzip: Use gzip compression for the initramfs image'
             'xz: Use lzma or xz compression for the initramfs image'
             'bzip2: Use bzip2 compression for the initramfs image'
@@ -22,15 +21,23 @@
             'mkinitcpio-nfs-utils: Support for root filesystem on NFS')
 provides=('initramfs')
 backup=('etc/mkinitcpio.conf')
-source=("https://sources.archlinux.org/other/$pkgname/$pkgname-$pkgver.tar.gz"{,.sig})
+source=("https://sources.archlinux.org/other/$pkgname/$pkgname-$pkgver.tar.gz"{,.sig}
+        test-use-system-library-loading-mechanism.patch)
 install=mkinitcpio.install
-sha512sums=('45548350cd66de6ba2ba5260db3c72d0b6153be36c068ebbd81725252d1dc62fd5dd798acd4a0245c7b58710fa2fea7c3066bd99ecd498dfc154177459af2038'
-            'SKIP')
-b2sums=('84c5122c3775f136bb768580519cb91a18769184d947cfe0e2c714607fe3e7f3e210cf4b58252fad831be8b211e18d7bef33acede97fa273775437d11f25fe07'
-        'SKIP')
+sha512sums=('68fd36eb95317977dfb389be8bd1f6f09d455ca81b55cde8f64245fc59ceee74afa64b55dbb7e8b2e28abe8274397dbba2f4b021499f9ad6d662175ced678585'
+            'SKIP'
+            'c9a0dc49e7a22808f0556c79da3320edb93377d775c91343b2a1380aebde4e255b5e675e53a00192c73e4ea9a98a91b05b56c9d56d9e7537847274710115a6ae')
+b2sums=('0b43d0d035fdba6195ca0e8facd654cbcff9c99d34d14b1f493c86cbea335c8f363e6117df7f0307e55b3e684fe7977d89ac226b79ed612270791e084b46aa4f'
+        'SKIP'
+        '11b8297ce18d47a0029490b950180801e5762ad7b7e36383d2f954cbc7aee10d3b901dd2703fd07b23b38aa6b74577b7d88a1d9eb5ff5633a665610c6fbec51b')
 validpgpkeys=('ECCAC84C1BA08A6CC8E63FBBF22FB1D78A77AEAB'    # Giancarlo Razzolini
               'C100346676634E80C940FB9E9C02FF419FECBE16')   # Morten Linderud
 
+prepare() {
+  cd "$pkgname-$pkgver"
+  patch -Np1 < ../test-use-system-library-loading-mechanism.patch
+}
+
 check() {
   make -C "$pkgname-$pkgver" check
 }

@lseman
Copy link
Contributor

lseman commented Jan 1, 2024

From the diff, there seem to be no customizations. Can we remove this package?

@vnepogodin
Copy link
Member

vnepogodin commented Jan 1, 2024

From the diff, there seem to be no customizations. Can we remove this package?

yeah we can remove it. we just had mkinitcpio newer than in arch

@lseman
Copy link
Contributor

lseman commented Jan 1, 2024

Removed.

@lseman lseman closed this as completed Jan 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

When branches are created from issues, their pull requests are automatically linked.

3 participants