source: mainline/boot/grub/build_dist.sh.in@ d197d25a

lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
Last change on this file since d197d25a was 28fcaee, checked in by Jiří Zárevúcky <zarevucky.jiri@…>, 6 years ago

amd64 boot

  • Property mode set to 100644
File size: 287 bytes
Line 
1#!/bin/sh
2
3DIST_DIR="$1"
4GRUB_DIR="$2"
5GRUB_CFG="$3"
6
7# TODO: keep the original and compare them
8rm -rf ${DIST_DIR}
9
10mkdir -p ${DIST_DIR}/boot/grub
11cp -r -L -t ${DIST_DIR}/boot/grub ${GRUB_DIR}/*
12cp ${GRUB_CFG} ${DIST_DIR}/boot/grub
13
14gunzip -q ${DIST_DIR}/boot/grub/*.gz || true
15
16@text@
Note: See TracBrowser for help on using the repository browser.