Hi all !
Our build system is now able to build so-called hybrid cds . What are they?
They are boot+live-cd all-in-one. In addition it is now possible with them to load the live cd as a ramdisk. For that the contents of the bootcd is placed into a bootcd/ directory, the contents of the livecd is placed into a livecd/ directory, and the livecd image itself is also included (this is the one that is used for livecd ramdisk). You can notice that makes a lot of redundancy, but its the best thing I could do for now. The best way would be to build some kind of flat HDD image that is used as the livecd ramdisk (and never use the livecd with reads from the cd as we currently do ) .
Anyways.
So here it is !
In addition you can add extra custom files via the build process: just place your files into a <your_ROS_source>/modules/hybridcd_extras/ directory (this directory doesnt exist by default, its up to you to create and populate it; I think its better to create a directory somewhere else and then add a symlink hybridcd_extras to this directory, inside the modules/ directory, as you already do with rosapps and rostests).
After that you configure a build, build the host-tools and then ninja hybridcd !!
If then you need to change the custom files, do it and then reconfigure a build with the cmake . command (when youre inside <your_ROS_builddir>/reactos/ ) so that cmake can build again the list of files to be included into the hybridcd.
See https://jira.reactos.org/browse/CORE-9069 for few more details.
Cheers,
Hermès.
I would like to add few notes:
- this is something that replaces the hand-made method used previously for the special Chemnitzer Linux Tage ReactOS CDs that were built: see http://svn.reactos.org/svn/reactos/branches/ros-branch-0_3_16-clt2014/reacto s/make_hybridcd.cmd?revision=62438 http://svn.reactos.org/svn/reactos/branches/ros-branch-0_3_16-clt2014/react os/make_hybridcd.cmd?revision=62438&view=co&pathrev=62438 &view=co&pathrev=62438 for example (code © Colin Finck).
- @ Colin: in your script is mentioned: Our cdmake doesn't support creating an ISO9660:1999 filesystem, which is important for a universally usable disc. : is this remark still valid or not?
- Finally, I need somebody who can test whether hybrid cds can be built with RosBE under Linux, and whether they work or not (concerning Windows, the test is already done ;) ). Thank you in advance!
Cheers,
H.
De : Ros-dev [mailto:ros-dev-bounces@reactos.org] De la part de Hermès BÉLUSCA - MAÏTO Envoyé : lundi 19 janvier 2015 00:12 À : ReactOS Development List Objet : [ros-dev] ReactOS Hybrid CDs
Hi all !
Our build system is now able to build so-called hybrid cds . What are they?
They are boot+live-cd all-in-one. In addition it is now possible with them to load the live cd as a ramdisk. For that the contents of the bootcd is placed into a bootcd/ directory, the contents of the livecd is placed into a livecd/ directory, and the livecd image itself is also included (this is the one that is used for livecd ramdisk). You can notice that makes a lot of redundancy, but its the best thing I could do for now. The best way would be to build some kind of flat HDD image that is used as the livecd ramdisk (and never use the livecd with reads from the cd as we currently do ) .
Anyways.
So here it is !
In addition you can add extra custom files via the build process: just place your files into a <your_ROS_source>/modules/hybridcd_extras/ directory (this directory doesnt exist by default, its up to you to create and populate it; I think its better to create a directory somewhere else and then add a symlink hybridcd_extras to this directory, inside the modules/ directory, as you already do with rosapps and rostests).
After that you configure a build, build the host-tools and then ninja hybridcd !!
If then you need to change the custom files, do it and then reconfigure a build with the cmake . command (when youre inside <your_ROS_builddir>/reactos/ ) so that cmake can build again the list of files to be included into the hybridcd.
See https://jira.reactos.org/browse/CORE-9069 for few more details.
Cheers,
Hermès.
Hermès BÉLUSCA - MAÏTO wrote:
- @ Colin: in your script is mentioned: “Our cdmake doesn't support
creating an ISO9660:1999 filesystem, which is important for a universally usable disc.” : is this remark still valid or not?
IIRC, that was because I put a folder "Build Environment" or even "ReactOS Build Environment" on the CD. Usual ISO9660 didn't like the spaces or the length of the name whereas ISO9660:1999 (as supported by that mkisofs version) had no problems.
I leave that for you to find out ;) If cdmake can properly create an ISO with all required extra directories, we're good to go.
- Colin
I will retest. But iirc we have a switch to enable " punctuation marks other than underscores in names and extensions" (option -m) that we use for building the livecd (because we add some shortcut files with long names with spaces and such).
H.
-----Message d'origine----- De : Ros-dev [mailto:ros-dev-bounces@reactos.org] De la part de Colin Finck Envoyé : lundi 19 janvier 2015 00:33 À : 'ReactOS Development List' Objet : Re: [ros-dev] ReactOS Hybrid CDs
Hermès BÉLUSCA - MAÏTO wrote:
- @ Colin: in your script is mentioned: Our cdmake doesn't support
creating an ISO9660:1999 filesystem, which is important for a universally usable disc. : is this remark still valid or not?
IIRC, that was because I put a folder "Build Environment" or even "ReactOS Build Environment" on the CD. Usual ISO9660 didn't like the spaces or the length of the name whereas ISO9660:1999 (as supported by that mkisofs version) had no problems.
I leave that for you to find out ;) If cdmake can properly create an ISO with all required extra directories, we're good to go.
- Colin
Hi !
We are ok concerning the long file names with spaces, see picture for more details. So Colin, you're good to go!! (A last note, we would need to fix the autorun.inf file so that the welcome.exe file is correctly started...)
Also: we *STILL* have this date and time problem in CDMAKE !!!! so the fix http://svn.reactos.org/svn/reactos?view=revision&revision=66029 is only part of the real fix. Hervé, could you please have a look into that? Thanks in advance!
Cheers, Hermès.
-----Message d'origine----- De : Ros-dev [mailto:ros-dev-bounces@reactos.org] De la part de Hermès BÉLUSCA - MAÏTO Envoyé : lundi 19 janvier 2015 00:50 À : 'ReactOS Development List' Objet : Re: [ros-dev] ReactOS Hybrid CDs
I will retest. But iirc we have a switch to enable " punctuation marks other than underscores in names and extensions" (option -m) that we use for building the livecd (because we add some shortcut files with long names with spaces and such).
H.
-----Message d'origine----- De : Ros-dev [mailto:ros-dev-bounces@reactos.org] De la part de Colin Finck Envoyé : lundi 19 janvier 2015 00:33 À : 'ReactOS Development List' Objet : Re: [ros-dev] ReactOS Hybrid CDs
Hermès BÉLUSCA - MAÏTO wrote:
- @ Colin: in your script is mentioned: Our cdmake doesn't support
creating an ISO9660:1999 filesystem, which is important for a universally usable disc. : is this remark still valid or not?
IIRC, that was because I put a folder "Build Environment" or even "ReactOS Build Environment" on the CD. Usual ISO9660 didn't like the spaces or the length of the name whereas ISO9660:1999 (as supported by that mkisofs version) had no problems.
I leave that for you to find out ;) If cdmake can properly create an ISO with all required extra directories, we're good to go.
- Colin
_______________________________________________ Ros-dev mailing list Ros-dev@reactos.org http://www.reactos.org/mailman/listinfo/ros-dev