Closed d78ui98 closed 6 years ago
Instead of those 4 lines I can also do
dpkg -i /vagrant/ubuntu-edu-*
this also works. Let me know if I should do this.
*.tgz
) on version control (git/github).ubuntu-edu-*
to debian-edu-*
.ubuntu-edu-*
package maintainer with your name). Deepanshu, you have added about 60 new files. I understand that you have just copied the source files of the edubuntu package, since this is easier for you.
Although this may work, it seems to me a lot of files. I would prefer something simpler, for example having only these 4 directories: deb/debian-edu-preschool/
, deb/debian-edu-primary
, deb/debian-edu-secondary
, deb/debian-edu-terciary/
, where each of these directories has about 4-5 control files.
This may require you to learn how to build deb packages, to understand the structure of control files etc. But that is the point, I want you to learn and to understand deb packages.
Since I don't understand deb packages myself, I am not sure that what I am asking is possible. But I believe there should be an easier way, you don't need 60 files just to build 4 packages.
Maybe you should ask on the mailing list for any good starting tutorial about understanding and building deb packages.
I am not sure that what I am asking is possible.
Yes we can do this. I just have to copy necessary files in 4 different folders. and define packages in the control
file(currently all are defined in one). However, it would increase number of files by 30 or more(4 unique rest redundant).
However, it would increase number of files
I am in favor of a minimalist solution, using the least number of files possible, the least configuration fields possible, the least tools possible. For example use no tools other than dpkg-deb for building the debian packages.
+1 for dpkg-deb
I am in favor of a minimalist solution
Agreed. dpkg-deb comes from devscripts
package. Other than that we only need equivs
to fix the dependencies. Otherwise mk-build-deps
will not work.
We are now down to 6 configuration files. 5 are inside debian folder. Any of them cannot be removed. I refered to this recommended guide from mailing list - https://wiki.debian.org/Packaging/Intro
I suggest that you use this Docker container for testing these scripts and config files (and making sure that they work correctly): https://github.com/docker-scripts/debian
But you have to replace stretch
with buster
on the base image:
https://github.com/docker-scripts/debian/blob/master/Dockerfile#L1
Sure.
I suggest that you use this Docker container for testing these scripts and config files
yes they work perfectly.
yes they work perfectly.
Did you use the 'debian' container for testing the packages?
What programs are installed when you install the package debian-edu-preschool
?
We are now down to 6 configuration files. 5 are inside debian folder. Any of them cannot be removed.
But their content can be fixed and improved. For example:
changelog
is too long; delete the previous content and write your own changecompat
maybe should be higher than 7control
should be fixed; remove germinate
and fix the list of dependencies for each packagecopyright
should be fixed (or maybe deleted)germinate
from rules
metapackage-map
maybe should be removedI refered to this recommended guide from mailing list - https://wiki.debian.org/Packaging/Intro
This is a good one. But the ones that I suggested are good as well: https://github.com/docker-scripts/dev--LTSP/issues/7#issuecomment-400156930
added ubuntu-edu packages on buster branch. These packages are compiled in debian
buster
closes #3 #7