Skip to content

Build powershell core using the generic RID 'linux-x64' #4841

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

Merged
merged 4 commits into from
Sep 18, 2017

Conversation

daxian-dbw
Copy link
Member

Initial PR for #3961, to get the ball rolling.

  • Update build so it can build and publish for the runtime linux-x64

Now that openSUSE.42.1 is decommissioned, comparing to updating our build to support SUSE 42.2, it's better to spend our effort on moving toward the generic Linux package.

This PR focuses on enabling build/publish with 'linux-x64'. I also removed win10-x64 and win81-x64 RID's given that we produce a single windows package now.
I tried Start-PSPackage on Ubuntu after building with the changes of this PR, and the generated package works fine.

The next step is to figure out how to generate single DEB/RPM packages that work for all supported Linux distros.

@TravisEz13
Copy link
Member

So, in this PR we build generically but still package for specific platforms?

@daxian-dbw
Copy link
Member Author

Yes, it targets the first task only. Need some pointers on how to proceed with the second task.

@TravisEz13
Copy link
Member

The second task I think will be a good bit of trial and error. General steps:

  1. Remove dependencies we now include during packaging ( according to DotNet Core many native libs will be included when you publish)
  2. Test the package on applicable platforms
  3. Adjust the package based on the result and repeat 2

@TravisEz13 TravisEz13 merged commit 192803b into PowerShell:master Sep 18, 2017
@daxian-dbw daxian-dbw deleted the build branch September 18, 2017 17:55
@daxian-dbw
Copy link
Member Author

@TravisEz13 I will take a stab at the second task.

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