Seem to have lost origin ..
Hi, I hope I am in the right channel. I installed bluefin-dx-nvidia, then built my own image off of that using blue build. I rebased to my build, which kind of worked; the problem I have is that almost all of the base packages and configs from bluefin-dx-nvidia are now gone, and the only things installed are those things I explicitly called to be installed in recipe.yml. I suspect that is because somehow I broke the origin, and I don't know how:
dave@dave-xps17:~$ sudo ostree admin status
default fa461d3c81640dbf4179cb8aded5ec2765b0805313e7eaf5fe1806213e9941c5.0
origin: <unknown origin type>
default 935ba8d2b40178b7967d4608a1e66cca4344584a81e4b9d1f3112d2387ef9f60.0 (rollback)
origin: <unknown origin type>
Here's my recipe.yml FWIW: https://raw.githubusercontent.com/robotictacos/xps17-fedora/main/recipes/recipe.yml
9 Replies
What commands did you run to rebase onto your image?
rpm-ostree rebase ostree-unverified-registry:ghcr.io/robotictacos/xps17-fedora:latest followed by a reboot, then rpm-ostree rebase ostree-image-signed:docker://ghcr.io/robotictacos/xps17-fedora:latest followed by another reboot
basically the commands from the readme
should I have installed via ISO instead of rebasing?
not sure what the issue is, you could try running the rebase command again to see what it says
or
rpm-ostree status
dave@dave-xps17:~/Nextcloud/.scripts/git/xps17-fedora$ rpm-ostree status
State: idle
AutomaticUpdates: stage; rpm-ostreed-automatic.timer: last run 1h 13min ago
Deployments:
● ostree-image-signed:docker://ghcr.io/robotictacos/xps17-fedora:latest
Digest: sha256:b65e03f90237db45c11e949aa947299db1e99c671848dc01f867c4e4d2711ee3
Version: 40.20240807.0 (2024-08-07T11:51:47Z)
LayeredPackages: 1password samba-usershares
ostree-unverified-registry:ghcr.io/robotictacos/xps17-fedora:latest
Digest: sha256:b65e03f90237db45c11e949aa947299db1e99c671848dc01f867c4e4d2711ee3
Version: 40.20240807.0 (2024-08-07T11:51:47Z)
LayeredPackages: 1password samba-usershares
not sure why it shows that with the other command, but i don't see anything wrong here
I think I figured it out, but it means Ima have to reinstall from ISO
I was following these instructions for installing from iso: https://blue-build.org/learn/universal-blue/
BlueBuild
Building on Universal Blue
Everything you need to know about building custom images on Universal Blue
There is this little snippet that I copied:
mkdir ./iso-output
sudo docker run --rm --privileged --volume ./iso-output:/build-container-installer/build --pull=always \
ghcr.io/jasonn3/build-container-installer:latest \
IMAGE_REPO=ghcr.io/octocat \
IMAGE_NAME=weird-os \
IMAGE_TAG=latest \
VARIANT=Silverblue # should match the variant your image is based on
when I modified it I changed the docker run command to point at my repository, because I am that stupid
oops