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

Cubic appends ".. cubic...v..) name to the OS system name, how can I prevent this? #29

Closed
dat-linux opened this issue Feb 27, 2022 · 7 comments
Assignees
Labels
question Further information is requested

Comments

@dat-linux
Copy link

Cubic adds its name to the OS system name, how can I prevent this?

@dat-linux dat-linux added the question Further information is requested label Feb 27, 2022
@PJ-Singh-001
Copy link
Owner

PJ-Singh-001 commented Feb 27, 2022

Uncheck the "Update the release description" check box on the Project page.

image

@PJ-Singh-001
Copy link
Owner

By the way, Cubic updates the "release description", not the OS name.

However, the "release description" is used in various GUI windows (such as System | About) in place of the OS name, which is why you see this.

@PJ-Singh-001 PJ-Singh-001 self-assigned this Feb 27, 2022
@dat-linux
Copy link
Author

dat-linux commented Feb 28, 2022

I want the release description to show the custom info WITHOUT the "cubic.date.." part at the end. Cubic attaches extra info that should not be there.

@dat-linux
Copy link
Author

dat-linux commented Feb 28, 2022

I'm patching the code locally, but this part of the release descr. string should be removed.
`
#description = f'{model.custom.iso_volume_id} (Cubic {model.project.modify_date})'

description = f'{model.custom.iso_volume_id}'
`

Thanks for help.

@PJ-Singh-001
Copy link
Owner

  1. On the Project page, highlight the value for "Volume ID" (in the "Custom Disk" section). Then, from the right-click context menu, select "Copy" to save this value for later.

  2. Un-check the "Update the release description" check box, as show above. This will prevent Cubic from overwriting your changes in step 3.

  3. On the Terminal page, manually edit the following files with the copied value of "Volume ID" from step 1. Edit the values for DISTRIB_DESCRIPTION and PRETTY_NAME. (You can use nano to edit these files).

    /etc/lsb-release
    /etc/os-release
    /usr/lib/os-release
    

@dat-linux
Copy link
Author

You should never change the lsb_release for a respin. As it affects the apt repos, and anything else that depends on knowing what the release is (eg "xenial").

Please remove the "(Cubic {model.project.modify_date})" text in the code, it is not helpful to add this text to my release.

@PJ-Singh-001
Copy link
Owner

lsb_release

@dat-linux,

You should never use the lsb_release's Description value to check the release. If this is not helpful to your personal respin, I suggest correcting the package management code you wrote to not use this value. Otherwise, you may consider using apt as your package manager, which does not rely on the Description value.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants