Development/Howto/Slipstream Updates
From Mandriva Community Wiki
After the distro is released, it is common for a group of package updates to accumulate. These packages must be applied to any new installation of the Mandriva Linux Operating System and is sometimes a time consuming step. Wouldn't it be convenient if you could make a new set of install images that included all of the updated packages. This document will show you how to do that.
Contents |
[edit] Background
Many people prefer to install from an updated CD set, rather than installing and then updating. Here's a couple of methods for doing this.
[edit] Methods
Basically, there are two options.
- Separate Update Disk: Create a complementary update CD based uppon existing download CDs which only contains the updated package.
- Integrated Updates: Remaster the download edition including the updates.
[edit] Details
A starting point is the "mkcd -h" command. You can use MakeCD instead to set up library paths etc to point within an ISO image or file tree on local storage (from the top of an ISO tree, that would be "./misc/MakeCD -h").
"mkcd -h" gives you command line option
"mkcd -h installation" gives you the config files installation keyword usage
"mkcd -h installation fixed" gives you the fixed option of the installation command help message (and so on)
the current config file most used options are:
- list
- rpmlist
- disc
- dir
- generic
- installation
- boot
- cdcom
- cp
- rm
- advertising
[edit] Update Disk
Mkcd config file (more or less, may need some tweeking):
NOTE: you need mkcd CVS to to that, I fixed a bug yesterday for this mode -- Warly
list 1 -k cooker_pubkey_files -k update_pubkey_files rpmlist --update -b updates_RPMS_dir rpmlist -b 9.2_RPMS disc 1 650m 92UPDATE1 "Update CD 1 (x86)" "MandrakeLinux9.2-Update-1" -p Publisher_id dir rpms Mandrake/RPMS4 generic --synthesis rpms 1 installation -o 50,3,0.1 --synthesis -l fr,it,en,de,es -t WhateverName-download-i586 \ -i install_path -d 1/rpms -f --update --noprovide hdlist:download_hdlist1_files,\ Mandrake/RPMS,"Installation1" hdlist:download_hdlist2_files,Mandrake/RPMS2,\ "Installation2" hdlist:download_hdlist3_files,Mandrake/RPMS3,"Installation3" boot --isolinux isolinux -b isolinux/isolinux.bin --first install_path/isolinux -f \ install_path/images
[edit] Integrated Updates
Second solution: remaster the CD. Use the config files into the misc dir into repositories. Replace the list line with
list -k cooker_key_file -k update_key_file 1 cooker_path/misc/download cooker_path_/misc/main rpmlist -b update_RPMS/ rpmlist -b 9.2_RPMS/