Skip to content

add conditional to rpm spec to test for arch, fixes 13616#15128

Merged
Tyriar merged 1 commit intomicrosoft:masterfrom
polygotdev:debt_13616_linux_rpm_depends_bitness
Nov 7, 2016
Merged

add conditional to rpm spec to test for arch, fixes 13616#15128
Tyriar merged 1 commit intomicrosoft:masterfrom
polygotdev:debt_13616_linux_rpm_depends_bitness

Conversation

@polygotdev
Copy link
Contributor

Summary of testing can be viewed at the gist

https://gist.github.com/polygotdev/8610fff8d0c0419c0b22215850517433#file-readme-md

Additional changes should be considered in the future for the glibc dependency but for now this is a minimal change.

libXss.so.1 was recently introduced as a dependency for correct rpm installation of vscode.

libXss.so.1 is a requirement for runtime.

this conditional check will help  tooling such as yum/dnf/rpm etc ensure the proper dependency is in place at installation time and help avoid bringing in i386 dependency libraries for x86_64 architectures.

i386
libXss.so.1

x86_64
libXss.so.1()(64bit)
@mention-bot
Copy link

@polygotdev, thanks for your PR! By analyzing the history of the files in this pull request, we identified @Tyriar and @astitcher to be potential reviewers.

@msftclas
Copy link

msftclas commented Nov 7, 2016

Hi @polygotdev, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!

This seems like a small (but important) contribution, so no Contribution License Agreement is required at this point. Real humans will now evaluate your PR.

TTYL, MSBOT;

@Tyriar
Copy link
Member

Tyriar commented Nov 7, 2016

Thanks for this @polygotdev! It should be available in the Insiders build tomorrow and I've added verification needed to the issue #13616 so it gets tested before the released 🎆

@Tyriar Tyriar self-assigned this Nov 7, 2016
@Tyriar Tyriar merged commit 6e5c456 into microsoft:master Nov 7, 2016
@Tyriar Tyriar added this to the November 2016 milestone Nov 7, 2016
@polygotdev polygotdev deleted the debt_13616_linux_rpm_depends_bitness branch November 7, 2016 23:51
@github-actions github-actions bot locked and limited conversation to collaborators Mar 27, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants