Re: Remote deployment






Colin Walters – Mon, 5. March 2018 23:22
Hi Manuel,

On Tue, Feb 27, 2018, at 6:10 AM, Manuel Stühn wrote:

#ostree --repo=repo static-delta apply-offline delta.file
error: Opening deltapart 'deltas/81/ToIa4loKTd3vHK4XrWa
+j4DWgWiukUMcdA_IeVDeA-AU4eGN8NXSVzRC+HN1cmS6H38IuxX_7DazmLAiITbOc/0': 
No such file or directory

That's weird. We have a test case in git for this:
github.com/ostreedev/ostree/blob/fe6ae92ebc2940765008e4775d56be39661f3514/tests/test-delta.sh
that's currently passing. And playing with deltas locally in
one of my development repos things seem to work too.

My initial thought is it was related to this recently fixed bug:
github.com/ostreedev/ostree/pull/1427
But AFAICS you shouldn't have been triggering that.

What version of ostree are you using again?

Thank you for your answer.  I already glimpsed into the testcases of yours and the qt-ota code which does 
something similar (offline-support) and appended to the commandline "--min-fallback-size=0 --inline". 
Unfortunately I do not have a clue, what these additional options do but now applying static-deltas seems to 
work.

The versions of ostree in usage is
ostree 2016.15
  +libsoup +gpgme +libarchive +selinux +libmount

ATM I do those steps:
1. create a new bare repository
2. local-pull the branch to be updated from the archive-repo into the bare repo
3. apply the deltas and
4. local-pull the branch back to the archive repo.

Is there a simple way how i could apply these static deltas directly to an "archive-z2" repo? 


Thanks,
Manuel



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]