Commit 2d036c1b authored by Daniel Bissani Furlin's avatar Daniel Bissani Furlin

Issue SCRUM#178: Change keyboard layout automatically to br

parent 7f12f6c3
......@@ -49,6 +49,7 @@ cp src/isolinux/* ${TMP}/image/isolinux/ || exit 1
cp -r src/pool ${TMP}/image/ || exit 1
cp -r src/dists ${TMP}/image/ || exit 1
cp src/preferences ${CHROOTDIR}/etc/apt/
cp src/keyboard ${CHROOTDIR}/etc/default/
printf $(sudo du -sx --block-size=1 ${CHROOTDIR} | cut -f1) > ${TMP}image/casper/filesystem.size || exit 1
cp src/README.diskdefines ${TMP}/image/ || exit 1
touch ${TMP}image/ubuntu || exit 1
......
# KEYBOARD CONFIGURATION FILE
# Consult the keyboard(5) manual page.
XKBMODEL="pc105"
XKBLAYOUT="br"
XKBVARIANT=""
XKBOPTIONS=""
BACKSPACE="guess"
ubiquity ubiquity/use_nonfree boolean true
d-i apt-setup/backports boolean false
ubiquity ubiquity/success_command \
string in-target apt-get -y install le-conf || \
string in-target apt-get -y autoremove; \
in-target apt-get -y install le-conf || \
(package_path=$(find /cdrom/ -name "le-conf*.deb") && \
package=$(basename ${package_path}) && \
cp ${package_path} /target/ && \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment