Skip to content

Commit

Permalink
build: switch to dracut-ng fork upstream
Browse files Browse the repository at this point in the history
The original dracut repository is no longer maintained, new initiative was started:

https://github.com/dracut-ng/dracut-ng/
  • Loading branch information
pvalena committed Apr 19, 2024
1 parent 9bd4c34 commit fb15896
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 12 deletions.
11 changes: 3 additions & 8 deletions .distro/dracut.spec
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,9 @@ Summary: Initramfs generator using udev
# except util/* which is GPLv2
License: GPL-2.0-or-later AND LGPL-2.1-or-later AND GPL-2.0-only

URL: https://github.com/dracutdevs/dracut/wiki/
URL: https://github.com/dracut-ng/dracut-ng/wiki/

# Currently upstream does not create releases, therefore
# source is created from commit 856e7acdb1462803c2517c8d64afb2e34c73c735
# Reference PR: https://github.com/dracutdevs/dracut/pull/2509
# Unpacked archive: https://github.com/pvalena/dracut-fedora/tree/v60-srpm-unpacked
Source0: dracut-%{version}.tar.xz
#Source0: https://github.com/dracutdevs/dracut/archive/refs/tags/%%{version}.tar.gz
Source0: https://github.com/dracut-ng/dracut-ng/archive/refs/tags/%%{version}.tar.gz

Source1: https://www.gnu.org/licenses/lgpl-2.1.txt

Expand Down Expand Up @@ -156,7 +151,7 @@ in a squashfs image, result in a smaller initramfs size and reduce runtime memor
usage.

%prep
%autosetup -n %{name}-%{version} -S git_am
%autosetup -n %{name}-ng-%{version} -S git_am
cp %{SOURCE1} .

%build
Expand Down
8 changes: 4 additions & 4 deletions .distro/source-git.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
upstream_project_url: [email protected]:pvalena/dracut-fedora.git
upstream_ref: 72a126415227cfcdf806c4d165d26983fe3b8b56
upstream_project_url: [email protected]:dracut-ng/dracut-ng.git
upstream_ref: 856e7acdb1462803c2517c8d64afb2e34c73c735
downstream_package_name: dracut
specfile_path: .distro/dracut.spec
patch_generation_ignore_paths:
Expand All @@ -18,5 +18,5 @@ files_to_sync:
- exclude source-git.yaml
- exclude .gitignore
sources:
- path: dracut-060.tar.gz
url: https://src.fedoraproject.org/repo/pkgs/rpms/dracut/059.tar.gz/sha512/eca5b779307a86f1072201f576ebdd2187d0ae3603dfe009acb9ff6fff81f028c9b5b3d2fa70c723d138e00d40b1c0f97a8ae6cd1fcbeefc898d692c54db33e3/dracut-60.tar.gz
- path: dracut-ng-060.tar.gz
url: https://github.com/dracut-ng/dracut-ng/archive/refs/tags/060.tar.gz

0 comments on commit fb15896

Please sign in to comment.