Skip to content
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

Luet kernel-switcher Removes Core Packages #7

Closed
akelling opened this issue Apr 27, 2021 · 3 comments
Closed

Luet kernel-switcher Removes Core Packages #7

akelling opened this issue Apr 27, 2021 · 3 comments
Assignees
Labels
enhancement New feature or request

Comments

@akelling
Copy link

Luet version: sharp-standardpci440fxpiix1996 ~ # luet --version
luet version 0.14.1-g946524f90de7c4c9f579749f868b91f5f58f5750 2021-04-24 07:17:36 UTC

CPU architecture, OS, and Version: sharp@sharp-standardpci440fxpiix1996 ~ $ uname -a
Linux sharp-standardpci440fxpiix1996 5.10.31-mocaccino #5.10.31-Mocaccino SMP Tue Apr 20 16:11:08 UTC 2021 x86_64 AMD Opteron 62xx class CPU AuthenticAMD GNU/Linux

Describe the bug
Running the following command removes core system packages
' luet kernel-switcher list'

To Reproduce
Run the command listed above.

Expected behavior
Not to remove core packages and to list kernel packages like the old kernel-switcher

Logs
transcript of my logs have been attached
luet_bug.txt

@akelling akelling added the bug Something isn't working label Apr 27, 2021
@akelling akelling changed the title Luet kernel-switcher Removed Core Packages Luet kernel-switcher Removes Core Packages Apr 27, 2021
@mudler mudler added enhancement New feature or request and removed bug Something isn't working labels Apr 28, 2021
@mudler
Copy link
Contributor

mudler commented Apr 28, 2021

Switching kernels for now has been tested only on Micro, and the docs is really strict about it, there is no such "list" command either. Thanks for testing and reporting back!

https://www.mocaccino.org/docs/micro/kernels/

But I do see the issue here, actually, kernel-switcher should be moved around the mos CLI

@akelling
Copy link
Author

akelling commented May 5, 2021

@mudler I totally understand where you are coming from but its more the issue that if there is an unexpected sub command removing all the system files in this case.

@mudler
Copy link
Contributor

mudler commented May 9, 2021

Luet kernel-switcher will be deprecated soon, see https://www.mocaccino.org/docs/general/kernels/ on how to switch kernels, it's still in development but that should cover what luet kernel-switcher is providing now ( plus the ability to list kernels )

@mudler mudler closed this as completed May 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants