Skip to content

Live updates build 🏗 prep#705

Closed
cgwalters wants to merge 4 commits intocoreos:masterfrom
cgwalters:live-updates-prep
Closed

Live updates build 🏗 prep#705
cgwalters wants to merge 4 commits intocoreos:masterfrom
cgwalters:live-updates-prep

Conversation

@cgwalters
Copy link
Copy Markdown
Member

Build/test prep for #652

'[ ! -d ${VMCHECK_INSTTREE} ] || exit 0
DESTDIR=${VMCHECK_INSTTREE}
make install DESTDIR=${DESTDIR}
for san in a t ub; do
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(And now if one wants to build with e.g. asan, install it into the insttree too)

@cgwalters cgwalters changed the title Live updates prep Live updates build 🏗 prep Mar 25, 2017
done
touch ${DESTDIR}/.completed'
[ -f insttree/.completed ]
[ -f ${VMCHECK_INSTTREE}/.completed ]
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should also update the rm -rf in Makefile-tests.am.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I pushed a fixup to add the VMCHECK_INSTTREE stuff to this one, but i removed the rm -rf for now since handling the logic correctly would need to check if it was set or not...and anyways we want to nuke all of this logic later with livefs + rpm installs or so.

--interface-prefix org.projectatomic.rpmostree1 \
--c-namespace RPMOSTree \
--c-generate-object-manager \
--c-generate-autocleanup=all \
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ahh no wonder I couldn't find this on my machine. This was added in Glib 2.50, but F24 is on 2.48. I will upgrade soon (or at least switch to containers), though F24 is still supported, right? I guess this depends on the outcome of https://pagure.io/atomic-wg/issue/228, though I'd like to be able to keep releasing to F24 if we're gonna keep running composes for it. Can we leave this off for now?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Kind of sucks to be dragged back by Fedora 24 😦...one of the major goals of rpm-ostree being making host system upgrades more reliable. But OK for now.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I dropped the change for now ⬇️ and will rework livefs to not need it.

I need to build ostree from git too.  So now my workflow is:

```
export insttree=/srv/walters/tmp/rootfs
cd ostree
make && make install DESTDIR=${insttree}
cd rpm-ostree
make && make install DESTDIR=${insttree}
env VMCHECK_INSTTREE=${insttree} make vmoverlay
```
Also add a comment about enabling autoptr in the future.
Tempting to have a check that `git status` is clean after a build in CI.
@jlebon
Copy link
Copy Markdown
Member

jlebon commented Mar 27, 2017

@rh-atomic-bot r+ fa53c59

@rh-atomic-bot
Copy link
Copy Markdown

⌛ Testing commit fa53c59 with merge a127bbd...

rh-atomic-bot pushed a commit that referenced this pull request Mar 27, 2017
Also add a comment about enabling autoptr in the future.

Closes: #705
Approved by: jlebon
rh-atomic-bot pushed a commit that referenced this pull request Mar 27, 2017
Tempting to have a check that `git status` is clean after a build in CI.

Closes: #705
Approved by: jlebon
@rh-atomic-bot
Copy link
Copy Markdown

☀️ Test successful - status-atomicjenkins
Approved by: jlebon
Pushing a127bbd to master...

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.

3 participants