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

build and release debian packages using Github Actions. #2

Closed
wants to merge 0 commits into from

Conversation

qkaiser
Copy link

@qkaiser qkaiser commented Oct 20, 2023

No description provided.

@qkaiser qkaiser self-assigned this Oct 20, 2023
@qkaiser qkaiser changed the title build debian packages using Github Actions. build and release debian packages using Github Actions. Oct 20, 2023
@qkaiser
Copy link
Author

qkaiser commented Oct 20, 2023

One open point is whether we want to rename package name with onekey at the end so they're not confused with the original.

@martonilles
Copy link

One open point is whether we want to rename package name with onekey at the end so they're not confused with the original.

I would bump the version at least with a suffix in https://github.com/onekey-sec/e2fsprogs/blob/master/debian/changelog we can use 1.47.0-1.ok1

@qkaiser
Copy link
Author

qkaiser commented Oct 23, 2023

One open point is whether we want to rename package name with onekey at the end so they're not confused with the original.

I would bump the version at least with a suffix in https://github.com/onekey-sec/e2fsprogs/blob/master/debian/changelog we can use 1.47.0-1.ok1

Looks like we'll need more than just a suffix change:

Install built packages
 /usr/bin/docker exec e2fsprogs debi --with-depends
 Reading package lists...
 Building dependency tree...
 Reading state information...
 The following additional packages will be installed:
   sash
 Suggested packages:
   doc-base gpart parted doc-debian
 The following NEW packages will be installed:
   comerr-dev e2fsck-static e2fsck-static-dbgsym e2fsprogs-dbgsym
   e2fsprogs-l10n fuse2fs fuse2fs-dbgsym libcom-err2-dbgsym libext2fs-dev
   libext2fs2-dbgsym libss2-dbgsym logsave-dbgsym sash ss-dev
 The following packages will be DOWNGRADED:
   e2fsprogs libcom-err2 libext2fs2 libss2 logsave
 0 upgraded, 14 newly installed, 5 downgraded, 0 to remove and 0 not upgraded.
 E: Packages were downgraded and -y was used without --allow-downgrades.
 debi: error: apt-get install --reinstall ./e2fsprogs_1.47.0-1.ok1_amd64.changes subprocess returned exit status 100
 Error: The process '/usr/bin/docker' failed with exit code 100

@martonilles
Copy link

I think we forked the wrong repo, official e2fsprogs is at https://git.kernel.org/pub/scm/fs/ext2/e2fsprogs.git

Debain uses the debian/master branch and the latest changelog is ahead of us:
https://git.kernel.org/pub/scm/fs/ext2/e2fsprogs.git/tree/debian/changelog?h=debian/master

Bookworm is is at 1.47.0-2 https://packages.debian.org/bookworm/e2fsprogs

@qkaiser qkaiser closed this Oct 27, 2023
@qkaiser qkaiser deleted the build-debian branch October 27, 2023 12:34
@qkaiser qkaiser restored the build-debian branch October 27, 2023 12:34
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

Successfully merging this pull request may close these issues.

2 participants