Possible to install package during or after installation step?

Erik Persson erik.gunnar.persson at gmail.com
Thu Oct 29 09:12:23 GMT 2009


Hi, you can chose to set it in pressed.conf like this.

## Individual additional packages to install
d-i pkgsel/include string nfs-common portmap tcsh autofs ntp nis
openssh-server twm mc sun-java5-jdk sun-java6-jdk libcurl3 puppet
#-------------------------------------------------------------------------------
# Language pack selection
d-i pkgsel/language-packs multiselect en

And if you want a post install script you just need a web server.
Ex.

##Xconfig
xserver-xorg xserver-xorg/autodetect_monitor boolean true
xserver-xorg xserver-xorg/config/monitor/selection-method \
select medium
xserver-xorg xserver-xorg/config/monitor/mode-list \
select 1024x768 @ 60 Hz
#-------------------------------------------------------------------------------
d-i preseed/late_command string \
    cd /target; \
    wget http://localwebserver/ubuntu/postinstallation.sh; \
    chmod +x ./postinstallation.sh; \
    chroot ./ ./postinstallation.sh; \
    rm -f ./postinstallation.sh

//Erik

2009/10/29 Phondanai Khanti <phondanai at gmail.com>

> I have some .deb packages need to install in system.
> I try to do this by putting package somewhere in system and use preseed to
> tell ubiquity to install package with line
>
> d-i preseed/late_command string dpkg -i /path/to/file.deb
>
> It doesn't work for me.
>
> How can I install my package or execute command during installation or
> almost installation finnish.
>
> Thank you very much.
> --
> Phondanai Khanti
>
> --
> Ubuntu-installer mailing list
> Ubuntu-installer at lists.ubuntu.com
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-installer
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.ubuntu.com/archives/ubuntu-installer/attachments/20091029/9b9cb57f/attachment.htm 


More information about the Ubuntu-installer mailing list