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

Rebase on debian 2022.1-3 #187

Closed
wants to merge 457 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
457 commits
Select commit Hold shift + click to select a range
156ec07
ci: Drop special handling of test-suite.log
dbnicholson Jun 21, 2021
410b46f
ci: Update Debian and Ubuntu build dependencies
dbnicholson Jun 21, 2021
dfe3bdc
ci: Use Debian and Ubuntu release stage tags
dbnicholson Jun 21, 2021
3cc4f87
libtest.sh: Remove duplicate ERR trap and report_err()
smcv Jun 22, 2021
ad048c8
Re-enable gjs tests on architectures where it is available
smcv Jun 22, 2021
47b7b1e
Merge pull request #2384 from smcv/dedup-report-err
lucab Jun 22, 2021
70a8f56
lib/commit: respect SOURCE_DATE_EPOCH for commit timestamp
lucab Jun 22, 2021
e4b78a0
Merge pull request #2386 from lucab/ups/commit-timestamp-env
cgwalters Jun 22, 2021
301b527
ostree-remount: Order before systemd-rfkill.*
jlebon Jun 22, 2021
e00c046
Merge pull request #2382 from dbnicholson/gh-tests-configs
jlebon Jun 22, 2021
0900f0c
Merge pull request #2387 from jlebon/pr/ostree-remount-rfkill
cgwalters Jun 22, 2021
d6ad114
OWNERS: remove
bgilbert Jul 2, 2021
0e58c32
Merge pull request #2392 from bgilbert/no-owners
cgwalters Jul 2, 2021
d573b8d
ci/release-build: evaluate package_version from m4 definition
lucab Jul 9, 2021
a8bf003
Merge pull request #2394 from lucab/ups/workflow-release
cgwalters Jul 10, 2021
38c14b3
Release 2021.3
lucab Jul 12, 2021
3f852d9
configure: post-release version bump
lucab Jul 12, 2021
f216a3c
Merge pull request #2396 from ostreedev/release-2021.3
cgwalters Jul 12, 2021
5b5d3b1
man: improve statoverride description
bgilbert Jul 14, 2021
4209525
Merge pull request #2398 from bgilbert/statoverride
jlebon Jul 14, 2021
dba2cdc
lib/repo: Factor out GPG verifier key imports
dbnicholson Jul 26, 2019
c8715c1
lib/repo: Factor out GPG verifier preparation
dbnicholson Aug 13, 2019
fc07365
lib/repo: Allow preparing GPG verifier without global keyrings
dbnicholson Jul 14, 2021
a50f6d0
lib/repo: Add ostree_repo_remote_get_gpg_keys()
dbnicholson Aug 13, 2019
74fb0c5
bin/remote: Add list-gpg-keys subcommand
dbnicholson Aug 13, 2019
fbff05e
libotutil: Import implementation of zbase32 encoding
dbnicholson Aug 26, 2019
4fa403a
libotutil: Add helper for GPG WKD update URLs
dbnicholson Aug 27, 2019
27dc5d7
lib/repo: Include WKD update URLs in GPG key listing
dbnicholson Aug 26, 2019
90a3bda
bin/remote: Include update URLs in list-gpg-keys
dbnicholson Aug 26, 2019
30c054b
fixup! lib/repo: Add ostree_repo_remote_get_gpg_keys()
dbnicholson Jul 15, 2021
814e481
fixup! bin/remote: Add list-gpg-keys subcommand
dbnicholson Jul 15, 2021
81df5c8
fixup! lib/repo: Add ostree_repo_remote_get_gpg_keys()
dbnicholson Jul 15, 2021
21615c2
Update changelog
smcv Jul 25, 2021
5e89318
New upstream version 2021.3
smcv Jul 25, 2021
8b657cc
Update upstream source from tag 'upstream/2021.3'
smcv Jul 25, 2021
9f49cbd
New upstream release
smcv Jul 25, 2021
6c73525
Increase build-dependency to GLib 2.44
smcv Jul 25, 2021
c41ffe4
d/libostree-1-1.symbols: Update
smcv Jul 25, 2021
3cfbcac
d/libostree-1-1.symbols: Remove a duplicate symbol
smcv Jul 25, 2021
0e295fe
Update changelog
smcv Jul 25, 2021
2da0bfe
Drop patches that were applied upstream
smcv Jul 25, 2021
d18bfcc
d/test.sh, d/tests: Unset SOURCE_DATE_EPOCH
smcv Jul 25, 2021
f3cc673
Release to experimental
smcv Jul 25, 2021
2c5fa2c
tests: Unset SOURCE_DATE_EPOCH
smcv Jul 26, 2021
835b114
Merge pull request #2407 from smcv/tests-source-date-epoch
lucab Jul 26, 2021
2817497
fix: Avoid wild pointers
liujianqiang-niu Jul 26, 2021
5023278
Merge pull request #2406 from liujianqiang-niu/main
lucab Jul 28, 2021
0795289
workflows: bump lint toolchain
bgilbert Jul 28, 2021
d9483f8
workflows: limit permissions to reading repo contents
bgilbert Jul 28, 2021
a3ce5df
Merge pull request #2408 from bgilbert/workflow
cgwalters Jul 29, 2021
75b1793
lib/sign-dummy: Handle incorrect signatures correctly
jlebon Aug 3, 2021
738831c
lib/sysroot: Fix error message about creating `/var/lib`
jlebon Aug 3, 2021
0f95e4e
ostree/dump: Fix free'ing a static string
jlebon Aug 3, 2021
87db562
Merge pull request #2409 from jlebon/pr/cov-fixes
lucab Aug 4, 2021
5a3d5fb
builtins/commit: check for conflicting permissions options
lucab Aug 17, 2021
b079c11
builtins/commit: move commit modifier to auto-cleanup
lucab Aug 18, 2021
6cd5857
Merge pull request #2411 from lucab/ups/cli-commit-errors
cgwalters Aug 18, 2021
cac4f21
Merge pull request #2414 from lucab/ups/cli-commit-modifier-autoptr
cgwalters Aug 18, 2021
c6b72f5
lib/core/checksum: add flag to use canonical permissions
lucab Aug 19, 2021
d41fcd1
lib/repo/checkout: use canonical perms in bare-user-only mode
lucab Aug 19, 2021
3209acb
Merge pull request #2415 from lucab/ups/checksum-canonical-perms
lucab Aug 19, 2021
412e3b1
d/gbp.conf: Switch branch back to debian/master
smcv Aug 20, 2021
e7e5461
Revert "d/test.sh, d/tests: Unset SOURCE_DATE_EPOCH"
smcv Aug 20, 2021
065143d
Apply patch from upstream to fix tests with SOURCE_DATE_EPOCH
smcv Aug 20, 2021
5518c1c
d/rules: Normalize permissions of installed-tests
smcv Aug 20, 2021
afd405e
Adjust Lintian overrides
smcv Aug 20, 2021
8a5241d
lib/commit: autofix permissions for bare-user-only
lucab Aug 20, 2021
98f3fe3
Merge pull request #2401 from dbnicholson/gpg-key-info
cgwalters Aug 20, 2021
2f675cf
Merge pull request #2412 from lucab/ups/lib-commit-canonicalize
cgwalters Aug 20, 2021
06ff77c
lib/diff: ignore xattrs if disabled on either repos
lucab Aug 23, 2021
452611e
Merge pull request #2417 from lucab/ups/diff-repo-ignore-xattrs
cgwalters Aug 23, 2021
6b8b4f3
Release to unstable
smcv Aug 23, 2021
58a683f
bin/remote: Rename list-gpg-keys to gpg-list-keys
dbnicholson Aug 23, 2021
89432b2
Merge pull request #2419 from dbnicholson/gpg-list-keys
lucab Aug 24, 2021
0276f4d
lib/diff: automatically skip xattrs in bare-user-only mode
lucab Aug 23, 2021
f75552e
builtins/commit: set up relevant flags in bare-user-only mode
lucab Aug 23, 2021
3e2360e
lib/commit: automatically skip xattrs in bare-user-only mode
lucab Aug 23, 2021
00660ea
tests: update several bare-user-only checks
lucab Aug 23, 2021
30909a2
Merge pull request #2418 from lucab/ups/lib-commit-xattrs
lucab Aug 24, 2021
c64b4bc
lib: improve transactions auto-cleanup logic
lucab Aug 25, 2021
28a0792
Merge pull request #2421 from lucab/ups/auto-txn-fixes
cgwalters Aug 25, 2021
3e30e72
lib: Change read_commit_detached_metadata to be nullable
cgwalters Aug 25, 2021
fdeee16
ci: Run main GH action CI build+test as non-root
cgwalters Aug 26, 2021
87d1157
checkout: Save errno when re-throwing
cgwalters Aug 26, 2021
6e32084
Merge pull request #2422 from cgwalters/allow-none-detached
dbnicholson Aug 26, 2021
77a86cc
Merge pull request #2424 from cgwalters/test-nonroot-ci
cgwalters Aug 26, 2021
dd506fe
checkout: Also ignore xattrs for union in bare-user-only mode
cgwalters Aug 26, 2021
7fb0266
Merge pull request #2425 from cgwalters/hardlink-correct-errno
lucab Aug 27, 2021
cfa2aec
Merge pull request #2426 from cgwalters/xattrs-bareuseronly-union
lucab Aug 27, 2021
359435d
Add an API to verify a commit signature explicitly
cgwalters Apr 12, 2021
3691a23
Merge pull request #2340 from cgwalters/sign-verify-api
cgwalters Aug 31, 2021
27fcee8
libtest: tweak selinux/relabel message
lucab Aug 30, 2021
9f5b636
tests/basic: Skip --no-xattrs if we have selinux
cgwalters Aug 26, 2021
aa0bb17
tests/basic: avoid changing ownership
lucab Aug 30, 2021
fff2408
tests: skip a broken fsck case
lucab Aug 30, 2021
55a7e74
Merge pull request #2428 from lucab/ups/tests-selinux-basic
cgwalters Sep 7, 2021
8821ec6
upgrade: Stabilize deployment staging
cgwalters Sep 2, 2021
744bf94
repo-pull: legacy_transaction_resuming flag ignored
Sep 8, 2021
20db6e5
Merge pull request #2430 from cgwalters/stabilize-staging
lucab Sep 8, 2021
7e4c4f2
Merge pull request #2435 from RBuddel/fix-delta-files-resume-legacy-t…
lucab Sep 8, 2021
511c7a1
Add support for "custom remotes"
cgwalters Sep 7, 2021
ce36e05
Merge pull request #2434 from cgwalters/custom-remote
cgwalters Sep 8, 2021
55090f1
Release 2021.4
cgwalters Sep 8, 2021
d1a73e1
configure: post-release version bump
cgwalters Sep 8, 2021
09804f7
Merge pull request #2438 from cgwalters/release-2021.4
cgwalters Sep 9, 2021
213b860
tests/pull-test: Avoid duplicating test numbers
cgwalters Sep 10, 2021
bc30806
tests: Add new TAP APIs
cgwalters Sep 10, 2021
e8394c7
Merge pull request #2440 from cgwalters/unit-test-counting
cgwalters Sep 13, 2021
ab12e38
bin/commit: Fix --tree=tar with --selinux-policy
cgwalters Sep 29, 2021
4b61768
Merge pull request #2448 from cgwalters/fix-selinux-policy
cgwalters Sep 30, 2021
bcc0ef7
tests: Use ostree-ext 0.3.0
cgwalters Sep 30, 2021
1ed290c
fsck: Print a success message
cgwalters Sep 30, 2021
1b9e3a9
repo: Add an API to init `OstreeSePolicy` from commit directly
cgwalters Sep 28, 2021
ddc0d54
sepolicy: Add deprecation comment for `_get_path()`
cgwalters Sep 30, 2021
d61a499
Merge pull request #2450 from cgwalters/revdep-ext-ci
jlebon Sep 30, 2021
841902c
Merge pull request #2451 from cgwalters/fsck-happy
jlebon Sep 30, 2021
5bf4b1d
Merge pull request #2447 from cgwalters/sepolicy-for-commit
cgwalters Sep 30, 2021
868776a
lib: Add an API to construct a `MutableTree` from a commit
cgwalters Sep 30, 2021
e6a560b
deploy: Ignore sockets, fifos in /etc during merge
cgwalters Sep 30, 2021
488edf6
Merge pull request #2453 from cgwalters/etc-ignore-sockets
jlebon Oct 4, 2021
c987534
repo/private: allow committing/aborting through a transaction guard
lucab Oct 1, 2021
cf2eef8
Merge pull request #2454 from lucab/ups/auto-txn-complete
cgwalters Oct 5, 2021
8cb5d92
Merge pull request #2449 from cgwalters/mtree-from-commit
jlebon Oct 5, 2021
63bf5e6
Release 2021.5
cgwalters Oct 5, 2021
085ba80
New upstream version 2021.4
smcv Oct 5, 2021
5b4deb9
Update upstream source from tag 'upstream/2021.4'
smcv Oct 5, 2021
bcb88f0
configure: post-release version bump
cgwalters Oct 5, 2021
0fb8e22
New upstream release
smcv Oct 5, 2021
4ec48c3
Update symbols file
smcv Oct 5, 2021
585ee53
d/copyright: Update
smcv Oct 5, 2021
5ee5d0d
Standards-Version: 4.6.0 (no further changes)
smcv Oct 5, 2021
9e6202c
d/control: Canonicalize field name case Multi-arch => Multi-Arch
smcv Oct 5, 2021
6901466
Drop patch that was applied upstream
smcv Oct 5, 2021
e8b0f6c
Bump debhelper compat level from 12 to 13
smcv Oct 5, 2021
007f9e9
Remove Lintian override for #947258, fixed in lintian 2.105.0
smcv Oct 5, 2021
92ed185
test-commit-sign.sh: Skip a unit test when running as an installed-test
smcv Oct 5, 2021
9fcb954
Add patch to fix installed-tests
smcv Oct 5, 2021
36d62a7
Release to unstable
smcv Oct 5, 2021
ccb4a1f
Merge pull request #2458 from ostreedev/release-2021.5
cgwalters Oct 6, 2021
a73a286
Remove OstreeTlsCertInteraction bits from introspection
cgwalters Oct 6, 2021
307707c
Merge pull request #2459 from smcv/test-commit-sign
cgwalters Oct 6, 2021
cc70ab2
Merge pull request #2460 from cgwalters/gir-no-tls-interaction
jlebon Oct 7, 2021
f4be52b
prepare-root: tweak log messages to clarify errors
lucab Oct 7, 2021
f4a3837
Merge pull request #2461 from lucab/ups/prepare-root-logging
cgwalters Oct 7, 2021
857d272
Mark a patch as applied upstream
smcv Oct 10, 2021
f74de94
Update changelog
smcv Oct 10, 2021
75e180c
New upstream version 2021.5
smcv Oct 10, 2021
737f00a
Update upstream source from tag 'upstream/2021.5'
smcv Oct 10, 2021
de31926
New upstream release
smcv Oct 10, 2021
fb8b2ec
Release to unstable
smcv Oct 10, 2021
8a9737a
repo/private: move OstreeRepoAutoTransaction to a boxed type
lucab Oct 11, 2021
5af2a52
docs: Do not convert -- & --- to en/em-dash
travier Oct 11, 2021
16157e7
Merge pull request #2465 from travier/docfixes
lucab Oct 12, 2021
dc1411f
Merge pull request #2464 from lucab/ups/box-auto-txn
cgwalters Oct 13, 2021
a8eed03
remote: Fix gcc `-fanalyzer` warning
cgwalters Oct 8, 2021
9a7f9c2
deployment: Fix gcc `-fanalyzer` warning
cgwalters Oct 8, 2021
520b45a
sysroot: Fix gcc `-fanalyzer` warning
cgwalters Oct 8, 2021
3159e04
fetcher/soup: Fix gcc `-fanalyzer` warning
cgwalters Oct 8, 2021
f355482
static-delta: Fix probably not actually possible NULL deref
cgwalters Oct 8, 2021
54bf42c
utils: Fix unreachable `NULL` deref by adding assertion
cgwalters Oct 8, 2021
029a9d5
variantutil: Fix gcc `-fanalyzer` warnin
cgwalters Oct 8, 2021
6b8295a
Merge pull request #2463 from cgwalters/fix-fanalyzer
lucab Oct 14, 2021
7ba8dbf
Attempt to update packit flow to build in COPR
cgwalters Oct 5, 2021
baa57ff
libglnx: Bump to ef502aabf7d3a0d37f9c4d228f870ac93404447b
cgwalters Oct 14, 2021
09f4ad7
Merge pull request #2467 from cgwalters/bump-libglnx-20211014
jlebon Oct 14, 2021
ec8cf31
Merge pull request #2455 from cgwalters/packit
lucab Oct 15, 2021
fda41e8
ci: Enable -fanalyzer
cgwalters Oct 14, 2021
58dc6a0
tests/rollsum: Use `g_malloc` not `malloc`
cgwalters Oct 18, 2021
5d045f3
Merge pull request #2466 from cgwalters/ci-fanalyzer
lucab Oct 18, 2021
f93d966
tests/var-mount: tweak test setup
lucab Oct 19, 2021
9692437
Merge pull request #2468 from lucab/ups/tests-var-mount
lucab Oct 19, 2021
848fe54
prepare-root: make all mount operations silent
lucab Oct 26, 2021
1e6077a
Merge pull request #2471 from lucab/ups/prepare-root-silent-mounts
cgwalters Oct 26, 2021
ca84da6
prepare-root: check return codes for errors when assembling paths
lucab Oct 26, 2021
7c17daa
prepare-root: get rid of a global variable
lucab Oct 26, 2021
6e01650
Merge pull request #2473 from lucab/ups/prepare-root-less-global-muta…
jlebon Oct 26, 2021
b7efd16
Merge pull request #2472 from lucab/ups/prepare-root-checked-printf
jlebon Oct 26, 2021
63d0c4c
prepare-root: check for read-only sysroot status early on
lucab Nov 1, 2021
800289a
Merge pull request #2475 from lucab/ups/prepare-root-check-first
cgwalters Nov 1, 2021
c553b5c
prepare-root: Set up sysroot readonly in initramfs
cgwalters Oct 25, 2021
48f582b
Added Fedora Kinoite link
ratajs Nov 3, 2021
adc097a
lib: Fix a bad call to g_file_get_child
valentindavid Nov 2, 2021
e580eca
Merge pull request #2187 from cgwalters/sysroot-ro-initramfs
cgwalters Nov 4, 2021
56428d5
Merge branch 'ostreedev:main' into patch-1
ratajs Nov 4, 2021
3b338df
ci: Require `libcap2-bin` for `capsh`
cgwalters Nov 9, 2021
1a86517
Merge pull request #2476 from valentindavid/valentindavid/glib-fix
cgwalters Nov 9, 2021
dff3669
Merge pull request #2477 from ratajs/patch-1
cgwalters Nov 9, 2021
e39280f
Merge pull request #2479 from cgwalters/ci-capsh
cgwalters Nov 9, 2021
9c1fe55
lib: Avoid dereferencing NULL error values
refi64 Nov 12, 2021
edbcf52
Merge pull request #2481 from refi64/null-error
lucab Nov 12, 2021
47d32d9
lib/prune: Avoid unnecessary object serialization
dbnicholson Nov 18, 2021
f552e30
Merge pull request #2484 from dbnicholson/prune-serialize
cgwalters Nov 18, 2021
947acbf
app: Only remount /sysroot if needed
jlebon Nov 19, 2021
48dfff2
Merge pull request #2486 from jlebon/pr/remount-ostree
cgwalters Nov 22, 2021
f1155c8
Release 2021.6
lucab Nov 23, 2021
281d310
configure: post-release version bump
lucab Nov 23, 2021
2dc6ec7
Merge pull request #2489 from ostreedev/release-2021.6
cgwalters Nov 23, 2021
cefc1d7
lib: misc static analysis fixes
lucab Nov 25, 2021
267ca93
Merge pull request #2490 from lucab/ups/static-fixes
jlebon Nov 26, 2021
2c39bd8
repo: Change locking for summary regeneration to be shared
cgwalters Dec 3, 2021
a07b8d6
Merge pull request #2493 from cgwalters/summary-lock-shared
cgwalters Dec 6, 2021
581a580
Update FSF license notices to use URL instead of address
jmarrero Dec 7, 2021
f1e2494
lib/repo: assert that writable state and error agree
lucab Dec 7, 2021
4a0ebe5
lib/repo: do no return an arbitrary mode on failure
lucab Dec 7, 2021
58bdfb9
lib/repo: do no return a NULL on failure
lucab Dec 7, 2021
490f515
Merge pull request #2494 from jmarrero/fsf-address
cgwalters Dec 7, 2021
b56786c
Merge pull request #2496 from lucab/ups/repo-asserts
cgwalters Dec 8, 2021
f44eaf7
tests: assert mandatory values are present
lucab Dec 10, 2021
365559e
Merge pull request #2498 from lucab/ups/test-assert-strings
cgwalters Dec 10, 2021
3f5d226
New upstream version 2021.6
smcv Dec 13, 2021
f5a8ff4
Update upstream source from tag 'upstream/2021.6'
smcv Dec 13, 2021
61ba306
New upstream release
smcv Dec 13, 2021
afc491e
Release to unstable
smcv Dec 13, 2021
6138568
Use debian/latest branch for packaging
smcv Dec 13, 2021
513b3c0
main: add support for CLI extensions via external binaries
lucab Dec 20, 2021
7c67199
Merge pull request #2500 from lucab/ups/cli-extensions
cgwalters Dec 20, 2021
5dbe37c
tests/cli-extensions: tweak test logic
lucab Dec 21, 2021
998863e
Merge pull request #2501 from lucab/ups/test-cli-extensions-tweak
lucab Dec 21, 2021
27c14f2
soup-uri: Fix clang-analyzer warning by dropping dead code
cgwalters Dec 21, 2021
d2f5a04
tests: Fix clang-analyzer not seeing through `g_error()`
cgwalters Dec 21, 2021
b1ddc6c
Merge pull request #2502 from cgwalters/analyzer
dbnicholson Dec 21, 2021
cf81428
lib: use ostree-content-writer header
lucab Jan 3, 2022
a27ccc9
Merge pull request #2503 from lucab/ups/libostree-content-writer-header
cgwalters Jan 3, 2022
97399c1
bsdiff: bump submodule, pick up fix for CVE-2014-9862
lucab Jan 3, 2022
eae35b7
lib/static-delta: throw a proper error on bspatch failure
lucab Jan 3, 2022
371c2f1
Merge pull request #2504 from lucab/ups/bsdiff-CVE-2014-9862
cgwalters Jan 3, 2022
4d47733
Merge pull request #2505 from lucab/ups/bsdiff-error-throw
cgwalters Jan 3, 2022
43859b5
rofiles-fuse: Build using FUSE 3 if possible, falling back to FUSE 2
smcv Jan 4, 2022
a3555f4
Merge pull request #2376 from smcv/fuse3
lucab Jan 4, 2022
2bfdcea
github: add dependabot config
lucab Jan 4, 2022
8e3323f
Merge pull request #2506 from lucab/ups/dependabot-config
dbnicholson Jan 4, 2022
6c903ab
Release 2022.1
lucab Jan 5, 2022
13edc15
New upstream version 2022.1
smcv Jan 7, 2022
286a307
Update upstream source from tag 'upstream/2022.1'
smcv Jan 7, 2022
97e4b7a
New upstream release
smcv Jan 7, 2022
285a482
Build using FUSE 3
smcv Jan 7, 2022
3c7db4e
Refresh patch series
smcv Jan 7, 2022
3172dd9
Update syntax of Lintian overrides for newer Lintian
smcv Jan 7, 2022
c128e91
Release to experimental
smcv Jan 7, 2022
336f3b8
ostree Breaks flatpak-builder (<< 1.2.1-2~)
smcv Jan 10, 2022
313909d
Release to experimental
smcv Jan 10, 2022
acd23f9
Move README.md from gir1.2-ostree-1.0 to libostree-doc
smcv Jan 24, 2022
e920c28
Use debhelper 11 features instead of dh-exec
smcv Jan 24, 2022
5501200
Release to unstable
smcv Jan 24, 2022
3744d4c
Remove grub2 files from ostree-boot package
GeorgesStavracas May 31, 2017
e3b8d73
Revert "Build using FUSE 3"
dbnicholson Feb 3, 2022
f0bbc8b
Revert "ostree Breaks flatpak-builder (<< 1.2.1-2~)"
dbnicholson Feb 3, 2022
4cdf13d
debian: Document Endless packaging changes
pwithnall Aug 16, 2017
9a0080d
Remove debian/patches
dbnicholson Mar 17, 2021
9ce2751
Release 2022.1-3endless1
dbnicholson Feb 3, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
4 changes: 1 addition & 3 deletions Makefile-bash.am
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,7 @@
# Lesser General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public
# License along with this library; if not, write to the
# Free Software Foundation, Inc., 59 Temple Place - Suite 330,
# Boston, MA 02111-1307, USA.
# License along with this library. If not, see <https://www.gnu.org/licenses/>.

completionsdir = @BASH_COMPLETIONSDIR@
dist_completions_DATA = bash/ostree
Expand Down
6 changes: 2 additions & 4 deletions Makefile-boot.am
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,7 @@
# Lesser General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public
# License along with this library; if not, write to the
# Free Software Foundation, Inc., 59 Temple Place - Suite 330,
# Boston, MA 02111-1307, USA.
# License along with this library. If not, see <https://www.gnu.org/licenses/>.

if BUILDOPT_DRACUT
# Not using $(libdir) here is intentional, dracut modules go in prefix/lib
Expand Down Expand Up @@ -65,7 +63,7 @@ endif

EXTRA_DIST += src/boot/dracut/module-setup.sh \
src/boot/dracut/ostree.conf \
src/boot/mkinitcpio/ostree \
src/boot/mkinitcpio \
src/boot/ostree-prepare-root.service \
src/boot/ostree-finalize-staged.path \
src/boot/ostree-remount.service \
Expand Down
4 changes: 1 addition & 3 deletions Makefile-decls.am
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,7 @@
# Lesser General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public
# License along with this library; if not, write to the
# Free Software Foundation, Inc., 59 Temple Place - Suite 330,
# Boston, MA 02111-1307, USA.
# License along with this library. If not, see <https://www.gnu.org/licenses/>.

# Common variables
AM_CPPFLAGS =
Expand Down
6 changes: 3 additions & 3 deletions Makefile-libostree-defines.am
Original file line number Diff line number Diff line change
Expand Up @@ -16,18 +16,18 @@
# Lesser General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public
# License along with this library; if not, write to the
# Free Software Foundation, Inc., 59 Temple Place - Suite 330,
# Boston, MA 02111-1307, USA.
# License along with this library. If not, see <https://www.gnu.org/licenses/>.

libostree_public_headers = \
src/libostree/ostree.h \
src/libostree/ostree-async-progress.h \
src/libostree/ostree-autocleanups.h \
src/libostree/ostree-content-writer.h \
src/libostree/ostree-core.h \
src/libostree/ostree-dummy-enumtypes.h \
src/libostree/ostree-mutable-tree.h \
src/libostree/ostree-repo.h \
src/libostree/ostree-repo-os.h \
src/libostree/ostree-types.h \
src/libostree/ostree-repo-file.h \
src/libostree/ostree-diff.h \
Expand Down
44 changes: 11 additions & 33 deletions Makefile-libostree.am
Original file line number Diff line number Diff line change
Expand Up @@ -15,24 +15,13 @@
# Lesser General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public
# License along with this library; if not, write to the
# Free Software Foundation, Inc., 59 Temple Place - Suite 330,
# Boston, MA 02111-1307, USA.
# License along with this library. If not, see <https://www.gnu.org/licenses/>.

include Makefile-libostree-defines.am


if ENABLE_RUST
bupsplitpath = @abs_top_builddir@/target/@RUST_TARGET_SUBDIR@/libbupsplit_rs.a
BUPSPLIT_RUST_SRCS = rust/src/bupsplit.rs
EXTRA_DIST += $(BUPSPLIT_RUST_SRCS)
$(bupsplitpath): Makefile $(BUPSPLIT_RUST_SRCS)
cd $(top_srcdir)/rust && CARGO_TARGET_DIR=@abs_top_builddir@/target cargo build --verbose $(CARGO_RELEASE_ARGS)
else
bupsplitpath = libbupsplit.la
noinst_LTLIBRARIES += libbupsplit.la
libbupsplit_la_SOURCES = src/libostree/bupsplit.h src/libostree/bupsplit.c
endif # ENABLE_RUST

lib_LTLIBRARIES += libostree-1.la

Expand Down Expand Up @@ -75,6 +64,8 @@ libostree_1_la_SOURCES = \
src/libostree/ostree-checksum-input-stream.h \
src/libostree/ostree-chain-input-stream.c \
src/libostree/ostree-chain-input-stream.h \
src/libostree/ostree-content-writer.c \
src/libostree/ostree-content-writer.h \
src/libostree/ostree-lzma-common.c \
src/libostree/ostree-lzma-common.h \
src/libostree/ostree-lzma-compressor.c \
Expand All @@ -92,6 +83,7 @@ libostree_1_la_SOURCES = \
src/libostree/ostree-ref.c \
src/libostree/ostree-remote.c \
src/libostree/ostree-remote-private.h \
src/libostree/ostree-repo-os.c \
src/libostree/ostree-repo.c \
src/libostree/ostree-repo-checkout.c \
src/libostree/ostree-repo-commit.c \
Expand All @@ -101,6 +93,7 @@ libostree_1_la_SOURCES = \
src/libostree/ostree-repo-libarchive.c \
src/libostree/ostree-repo-prune.c \
src/libostree/ostree-repo-refs.c \
src/libostree/ostree-repo-verity.c \
src/libostree/ostree-repo-traverse.c \
src/libostree/ostree-repo-private.h \
src/libostree/ostree-repo-file.c \
Expand Down Expand Up @@ -151,15 +144,7 @@ endif
if HAVE_LIBSOUP_CLIENT_CERTS
libostree_1_la_SOURCES += \
src/libostree/ostree-tls-cert-interaction.c \
src/libostree/ostree-tls-cert-interaction.h \
$(NULL)
endif
libostree_experimental_headers = \
$(NULL)
if !ENABLE_EXPERIMENTAL_API
libostree_1_la_SOURCES += $(libostree_experimental_headers)
else # if ENABLE_EXPERIMENTAL_API
libostree_1_la_SOURCES += \
src/libostree/ostree-tls-cert-interaction-private.h \
$(NULL)
endif

Expand All @@ -185,10 +170,10 @@ endif # USE_GPGME

symbol_files = $(top_srcdir)/src/libostree/libostree-released.sym

## Uncomment this include when adding new development symbols.
#if BUILDOPT_IS_DEVEL_BUILD
#symbol_files += $(top_srcdir)/src/libostree/libostree-devel.sym
#endif
# Uncomment this include when adding new development symbols.
# if BUILDOPT_IS_DEVEL_BUILD
# symbol_files += $(top_srcdir)/src/libostree/libostree-devel.sym
# endif

# http://blog.jgc.org/2007/06/escaping-comma-and-space-in-gnu-make.html
wl_versionscript_arg = -Wl,--version-script=
Expand All @@ -204,9 +189,6 @@ libostree_1_la_LDFLAGS = -version-number 1:0:0 -Bsymbolic-functions $(addprefix
libostree_1_la_LIBADD = libotutil.la libglnx.la libbsdiff.la $(OT_INTERNAL_GIO_UNIX_LIBS) $(OT_INTERNAL_GPGME_LIBS) \
$(OT_DEP_LZMA_LIBS) $(OT_DEP_ZLIB_LIBS) $(OT_DEP_CRYPTO_LIBS)
# Some change between rust-1.21.0-1.fc27 and rust-1.22.1-1.fc27.x86_64
if ENABLE_RUST
libostree_1_la_LIBADD += -ldl
endif
libostree_1_la_LIBADD += $(bupsplitpath)
EXTRA_libostree_1_la_DEPENDENCIES = $(symbol_files)

Expand Down Expand Up @@ -291,13 +273,9 @@ OSTree-1.0.gir: libostree-1.la Makefile
OSTree_1_0_gir_EXPORT_PACKAGES = ostree-1
OSTree_1_0_gir_INCLUDES = Gio-2.0
OSTree_1_0_gir_CFLAGS = $(libostree_1_la_CFLAGS)
if ENABLE_EXPERIMENTAL_API
# When compiling this is set via config.h, but g-ir-scanner can't use that
OSTree_1_0_gir_CFLAGS += -DOSTREE_ENABLE_EXPERIMENTAL_API=1
endif
OSTree_1_0_gir_LIBS = libostree-1.la
OSTree_1_0_gir_SCANNERFLAGS = --warn-all --identifier-prefix=Ostree --symbol-prefix=ostree $(GI_SCANNERFLAGS)
OSTree_1_0_gir_FILES = $(libostreeinclude_HEADERS) $(filter-out %-private.h %/ostree-soup-uri.h $(libostree_experimental_headers),$(libostree_1_la_SOURCES))
OSTree_1_0_gir_FILES = $(libostreeinclude_HEADERS) $(filter-out %-private.h %/ostree-soup-uri.h,$(libostree_1_la_SOURCES))
INTROSPECTION_GIRS += OSTree-1.0.gir
gir_DATA += OSTree-1.0.gir
typelib_DATA += OSTree-1.0.typelib
Expand Down
4 changes: 1 addition & 3 deletions Makefile-man.am
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,7 @@
# Lesser General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public
# License along with this library; if not, write to the
# Free Software Foundation, Inc., 59 Temple Place - Suite 330,
# Boston, MA 02111-1307, USA.
# License along with this library. If not, see <https://www.gnu.org/licenses/>.

if ENABLE_MAN

Expand Down
10 changes: 2 additions & 8 deletions Makefile-ostree.am
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,7 @@
# Lesser General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public
# License along with this library; if not, write to the
# Free Software Foundation, Inc., 59 Temple Place - Suite 330,
# Boston, MA 02111-1307, USA.
# License along with this library. If not, see <https://www.gnu.org/licenses/>.

bin_PROGRAMS += ostree

Expand Down Expand Up @@ -60,11 +58,6 @@ nodist_ostree_SOURCES = \
src/ostree/parse-datetime.c \
$(NULL)

if ENABLE_EXPERIMENTAL_API
ostree_SOURCES += \
$(NULL)
endif

if USE_GPGME
ostree_SOURCES += \
src/ostree/ot-builtin-gpg-sign.c \
Expand Down Expand Up @@ -110,6 +103,7 @@ ostree_SOURCES += \
if USE_GPGME
ostree_SOURCES += \
src/ostree/ot-remote-builtin-gpg-import.c \
src/ostree/ot-remote-builtin-gpg-list-keys.c \
$(NULL)
endif

Expand Down
6 changes: 3 additions & 3 deletions Makefile-otutil.am
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,7 @@
# Lesser General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public
# License along with this library; if not, write to the
# Free Software Foundation, Inc., 59 Temple Place - Suite 330,
# Boston, MA 02111-1307, USA.
# License along with this library. If not, see <https://www.gnu.org/licenses/>.

noinst_LTLIBRARIES += libotutil.la

Expand Down Expand Up @@ -49,6 +47,8 @@ if USE_GPGME
libotutil_la_SOURCES += \
src/libotutil/ot-gpg-utils.c \
src/libotutil/ot-gpg-utils.h \
src/libotutil/zbase32.c \
src/libotutil/zbase32.h \
$(NULL)
endif

Expand Down
4 changes: 1 addition & 3 deletions Makefile-switchroot.am
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,7 @@
# Lesser General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public
# License along with this library; if not, write to the
# Free Software Foundation, Inc., 59 Temple Place - Suite 330,
# Boston, MA 02111-1307, USA.
# License along with this library. If not, see <https://www.gnu.org/licenses/>.

if BUILDOPT_SYSTEMD
ostree_boot_PROGRAMS += ostree-remount
Expand Down
22 changes: 11 additions & 11 deletions Makefile-tests.am
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,7 @@
# Lesser General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public
# License along with this library; if not, write to the
# Free Software Foundation, Inc., 59 Temple Place - Suite 330,
# Boston, MA 02111-1307, USA.
# License along with this library. If not, see <https://www.gnu.org/licenses/>.

EXTRA_DIST += \
buildutil/tap-driver.sh \
Expand Down Expand Up @@ -64,11 +62,13 @@ _installed_or_uninstalled_test_scripts = \
tests/test-basic-user.sh \
tests/test-basic-user-only.sh \
tests/test-basic-root.sh \
tests/test-cli-extensions.sh \
tests/test-pull-subpath.sh \
tests/test-archivez.sh \
tests/test-remote-add.sh \
tests/test-remote-headers.sh \
tests/test-commit-sign.sh \
tests/test-commit-timestamp.sh \
tests/test-export.sh \
tests/test-help.sh \
tests/test-libarchive.sh \
Expand Down Expand Up @@ -151,13 +151,12 @@ _installed_or_uninstalled_test_scripts = \
if USE_GPGME
_installed_or_uninstalled_test_scripts += \
tests/test-remote-gpg-import.sh \
tests/test-remote-gpg-list-keys.sh \
tests/test-gpg-signed-commit.sh \
tests/test-admin-gpg.sh \
$(NULL)
endif

experimental_test_scripts = \
$(NULL)
test_extra_programs = \
tests/get-byte-order \
tests/repo-finder-mount \
Expand All @@ -171,12 +170,6 @@ tests_repo_finder_mount_SOURCES = tests/repo-finder-mount.c
tests_repo_finder_mount_CFLAGS = $(common_tests_cflags)
tests_repo_finder_mount_LDADD = $(common_tests_ldadd) libostreetest.la

if ENABLE_EXPERIMENTAL_API
_installed_or_uninstalled_test_scripts += $(experimental_test_scripts)
else
EXTRA_DIST += $(experimental_test_scripts)
endif

if BUILDOPT_FUSE
_installed_or_uninstalled_test_scripts += tests/test-rofiles-fuse.sh
uninstalled_test_data += tests/rofiles-fuse-symlink-stamp
Expand Down Expand Up @@ -397,6 +390,10 @@ tests_test_rfc2616_dates_SOURCES = \
tests_test_rfc2616_dates_CFLAGS = $(TESTS_CFLAGS)
tests_test_rfc2616_dates_LDADD = $(TESTS_LDADD)

noinst_PROGRAMS += tests/test-commit-sign-sh-ext
tests_test_commit_sign_sh_ext_CFLAGS = $(TESTS_CFLAGS)
tests_test_commit_sign_sh_ext_LDADD = $(TESTS_LDADD)

if USE_GPGME
tests_test_gpg_verify_result_SOURCES = \
src/libostree/ostree-gpg-verify-result-private.h \
Expand Down Expand Up @@ -439,8 +436,11 @@ if ENABLE_INSTALLED_TESTS_EXCLUSIVE
dist_installed_test_scripts = $(_installed_or_uninstalled_test_scripts)
installed_test_programs = $(_installed_or_uninstalled_test_programs)
check-local:
echo "NOTE: Run the Rust installed tests (uninstalled) with ./tests/run-installed"
echo "NOTE: Exclusive installed tests are enabled; to run them, make install, then: gnome-desktop-testing-runner -p 0 libostree/"
else
check-local:
echo "NOTE: Run the Rust installed tests (uninstalled) with ./tests/run-installed"
dist_test_scripts += $(_installed_or_uninstalled_test_scripts)
test_programs += $(_installed_or_uninstalled_test_programs)
endif
Expand Down
42 changes: 14 additions & 28 deletions Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,7 @@
# Lesser General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public
# License along with this library; if not, write to the
# Free Software Foundation, Inc., 59 Temple Place - Suite 330,
# Boston, MA 02111-1307, USA.
# License along with this library. If not, see <https://www.gnu.org/licenses/>.

include Makefile-decls.am

Expand All @@ -31,7 +29,7 @@ AM_CPPFLAGS += -DDATADIR='"$(datadir)"' -DLIBEXECDIR='"$(libexecdir)"' \
-DOSTREE_COMPILATION \
-DG_LOG_DOMAIN=\"OSTree\" \
-DOSTREE_GITREV='"$(OSTREE_GITREV)"' \
-DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_40 '-DGLIB_VERSION_MAX_ALLOWED=G_ENCODE_VERSION(2,50)' \
-DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_44 '-DGLIB_VERSION_MAX_ALLOWED=G_ENCODE_VERSION(2,50)' \
-DSOUP_VERSION_MIN_REQUIRED=SOUP_VERSION_2_40 '-DSOUP_VERSION_MAX_ALLOWED=G_ENCODE_VERSION(2,48)'
# For strict aliasing, see https://bugzilla.gnome.org/show_bug.cgi?id=791622
AM_CFLAGS += -std=gnu99 -fno-strict-aliasing $(WARN_CFLAGS)
Expand All @@ -46,6 +44,18 @@ GITIGNOREFILES = aclocal.m4 build-aux/ buildutil/*.m4 config.h.in gtk-doc.make
# Generated by coreos-assembler build-fast and kola
GITIGNOREFILES += fastbuild-*.qcow2 _kola_temp/

# Rust stuff
GITIGNOREFILES += target/ Cargo.lock

# Jekyll docs
GITIGNOREFILES += \
docs/.bundle/ \
docs/Gemfile.lock \
docs/_site/ \
docs/reference/ \
docs/vendor/ \
$(NULL)

SUBDIRS += .

if ENABLE_GTK_DOC
Expand All @@ -71,30 +81,6 @@ GIRS =
TYPELIBS = $(GIRS:.gir=.typelib)
endif

# These bits based on gnome:librsvg/Makefile.am
if ENABLE_RUST
if RUST_DEBUG
CARGO_RELEASE_ARGS=
else
CARGO_RELEASE_ARGS=--release
endif

check-local:
cd $(srcdir)/rust && CARGO_TARGET_DIR=$(abs_top_builddir)/target cargo test

clean-local:
cd $(srcdir)/rust && CARGO_TARGET_DIR=$(abs_top_builddir)/target cargo clean

dist-hook:
(cd $(distdir)/rust && \
cp $(abs_top_srcdir)/rust/Cargo.lock . && \
cargo vendor -q && \
mkdir .cargo && \
cp cargo-vendor-config .cargo/config)

EXTRA_DIST += $(srcdir)/rust/Cargo.toml $(srcdir)/rust/cargo-vendor-config
endif # end ENABLE_RUST

libglnx_srcpath := $(srcdir)/libglnx
libglnx_cflags := $(OT_DEP_GIO_UNIX_CFLAGS) "-I$(libglnx_srcpath)"
libglnx_libs := $(OT_DEP_GIO_UNIX_LIBS)
Expand Down
Loading