Skip to content

portage update: port check_root to python3 and fix SDK bootstrap#118

Merged
krnowak merged 3 commits intomainfrom
krnowak/portage-update
Feb 15, 2021
Merged

portage update: port check_root to python3 and fix SDK bootstrap#118
krnowak merged 3 commits intomainfrom
krnowak/portage-update

Conversation

@krnowak
Copy link
Copy Markdown
Member

@krnowak krnowak commented Feb 12, 2021

check_root script imports portage code which became python3 only after portage update. Updated portage (or catalyst) also seems to generated gzipped CONTENTS files, so adapt the code to handle that.

A newer version of catalyst seems to be actually gzipping the CONTENTS
files, so take this into accout.
The script needs to be ported, because it is importing portage code
which became python3 only.

The porting I did is likely a lousy job, but at least it stopped
failing with some p(yt)hony errors.
The script is written in python2 and it imports portage code. Since
the portage is going to become a python3-only code, the script needs
porting to python3. It is not the high priority right now, because it
seems to be not used by other scripts or jenkins.
@krnowak krnowak requested a review from a team February 12, 2021 14:58
@krnowak krnowak merged commit 91a85dd into main Feb 15, 2021
@krnowak krnowak deleted the krnowak/portage-update branch February 15, 2021 11:47
sayanchowdhury added a commit that referenced this pull request Feb 15, 2021
portage update: port check_root to python3 and fix SDK bootstrap
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