Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
debian-installer support #61
I recently needed to use a published Aptly repo from
I found the main problem for debian-installer in the system log, which is that in the
I took a quick stab at adding this into Aptly today. I'm not entirely sure what all of the different fields in the file are really supposed to be, but
Let me know what you think. Thanks!
Jun 7, 2014
1 check passed
added a commit
this pull request
Jun 7, 2014
This isn't working for me, I am digging into it but for whatever reason I am not getting the "Archive" bit in my release files. I am getting the extra needed release files but they seem to be missing that component and I haven't figured out why yet (even manually setting -distribution in the publish command)
Just rebuilt, and having the same issue. My release file in public/dists/trusty is thus:
using a config file:
and doing the following commands....
and for version...
Also just noticed, and I don't have the previous one to check now :/ but the components says main only, although the mirror as show in the above command is main, universe and restricted.
Also just realized, I am looking in the wrong file for the archive flag, I was as shown above looking at public/dists/trusty and I needed to be looking at public/dists/trusty/main/binary-* which is correct:
except that component bit, I will go back and see if I did something else foolish somehow.
Ok - ignore me, looks like the way that works changed in .6 due to #36 so, I have to do some stuff different. Let me actually do due diligence, but it looks like everything is correct and I was misguided.
Ok, after much fiddling - everything is being setup as expected and I have determined the problem. The issue is, this minimal package config works for the full blown CD installer. However, I am using the ubuntu mini installer, and it requires the "debian-installer" architecture in addition to the amd64 binaries.
I have confirmed this works properly when using the full installer it is just the custom "download installer components" which fails, and is required by the mini cd.
@jordanrinke, there are several issues here. First, aptly doesn't support .udebs (the debian-installer thing you mentioned). Second, if you would like to publish distribution with several components, you need to follow more complex steps. The steps you mentioned with
@smira Yeah, I got it all worked out now, I had not noticed the architecture change bit in 0.6. For anyone else that runs across this. Just use the normal installation CD and f4 mode to minimal installation to get the result of a mini install but still be able to use an aptly based repo.
Thanks for the help and the great software.