X-Git-Url: http://gitweb.hugovil.com/?a=blobdiff_plain;f=stage1%2Fcreate-config-files;h=f4c12468d665866205ecf10621ac4a549721a808;hb=14e127c567da3297301aab8ce4684e12944a5eef;hp=a4381dbd4e80d651686e0fc631be0b472b80c21e;hpb=403864c4c25c81e350b87349942366177b031b83;p=hvlinux.git diff --git a/stage1/create-config-files b/stage1/create-config-files index a4381db..f4c1246 100755 --- a/stage1/create-config-files +++ b/stage1/create-config-files @@ -10,12 +10,12 @@ EOF if [ -n "${BOOT_PARTITION}" ]; then install -v -m755 -d ${LFS}/mnt/boot - echo "${BOOT_PARTITION} /mnt/boot auto defaults,noatime 0 0" >> ${LFS}/etc/fstab + echo "${BOOT_PARTITION} /mnt/boot auto ${PARTITION_MOUNT_OPTS} 0 0" >> ${LFS}/etc/fstab fi if [ -n "${SWAP_PARTITION}" ]; then echo "${SWAP_PARTITION} none swap sw 0 0" >> ${LFS}/etc/fstab fi -echo "${LFS_PARTITION} / auto defaults,noatime 0 0" >> ${LFS}/etc/fstab +echo "${LFS_PARTITION} / auto ${PARTITION_MOUNT_OPTS} 0 0" >> ${LFS}/etc/fstab cat >> ${LFS}/etc/fstab << "EOF" proc /proc proc defaults 0 0 @@ -192,7 +192,7 @@ EOF cat > ${LFS}/etc/skel/.bashrc << "EOF" # ~/.bashrc -# User specific aliases and functions +# User bashrc # This file is executed each time an xterm window # is started. @@ -201,6 +201,23 @@ if [ -f /etc/bashrc ]; then . /etc/bashrc fi +# Source user aliases +if [ -f ~/.bash_aliases ]; then + . ~/.bash_aliases +fi + +EOF + +cat > ${LFS}/etc/skel/.bash_aliases << "EOF" +# ~/.bash_aliases + +# User specific aliases + +# GIT aliases +alias gra='git rebase --abort' +alias grc='git rebase --continue' +alias gri='git rebase -i' + EOF # Copy skeleton files to root user directory