It was <2013-11-08 pią 10:50>, when Łukasz Stelmach wrote: [...] > I took a look at Debian's deboostrap[2] package. It looks like they have > some packagenames *hardcoded*[3] in the scripts to be installed before > everything else. They are: dpkg, base-files (equivalent of our > filesystem and setup), base-passwd, C library, perl awk and > debconf. Only after these are in place the packages listed in > configutation files are installed. > > It appears we may need prepackages or anything alse that > > [1] http://en.wikipedia.org/wiki/Directed_acyclic_graph > > [2] http://anonscm.debian.org/gitweb/?p=d-i/debootstrap.git > > [3] > http://anonscm.debian.org/gitweb/?p=d-i/debootstrap.git;a=blob;f=scripts/sid;h=0e2c12d37d8f8dd40ef9d7be17ac348ac7e2e0d1;hb=c3ab42b4c7d3880b97af8172177a26a7c5b2c8fb#l101
On the other hand it seems that Fedora manages to maintain proper
installation order using only dependencies.
If you download the packages from the Core group[1] and run the
following command:
ls *.rpm | perl -ne 'BEGIN{print "digraph G {\nrankdir=\"LR\";\n"} END{print
"}\n"} m/(.*)-([^-]*)-([^-]*)\.([^.])+\.rpm/; $file = $_; $name = $1; open RPM,
"rpm -qpR $file|"; while($d=<RPM>) {chomp $d; next if ($d=~m/^rpm/);
$d=~s/^libc\..*/glibc/; print "\"$name\" -> \"$d\"\n";} close RPM;' | dot -Tpng
> graph.png
setup, filesystem and basesystem are the three rightmost packages which
means they are first to be installed.
Considering our requirements (RD-PQ image) situation somewhat unstable
and broken packages here and there I think putting filesystem and setup
packages in the prepackages section of the ks file[2] is the best
way to make sure we can build images.
[1]
http://ftp.pbone.net/pub/fedora/linux//releases/18/Everything/x86_64/os/repodata/20555427e96e7c41f8082fd42c0025fbd4dedbfebde9fe006aa70299cbd1510a-comps-f18.xml
[2] https://review.tizen.org/gerrit/12480
--
Łukasz Stelmach
Samsung R&D Institute Poland
Samsung Electronics
pgp2iwghKXgOM.pgp
Description: PGP signature
_______________________________________________ Dev mailing list [email protected] https://lists.tizen.org/listinfo/dev
