lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
Last change
on this file since 1783f75 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 |
|
|---|
| 3 | DIST_DIR="$1"
|
|---|
| 4 | GRUB_DIR="$2"
|
|---|
| 5 | GRUB_CFG="$3"
|
|---|
| 6 |
|
|---|
| 7 | # TODO: keep the original and compare them
|
|---|
| 8 | rm -rf ${DIST_DIR}
|
|---|
| 9 |
|
|---|
| 10 | mkdir -p ${DIST_DIR}/boot/grub
|
|---|
| 11 | cp -r -L -t ${DIST_DIR}/boot/grub ${GRUB_DIR}/*
|
|---|
| 12 | cp ${GRUB_CFG} ${DIST_DIR}/boot/grub
|
|---|
| 13 |
|
|---|
| 14 | gunzip -q ${DIST_DIR}/boot/grub/*.gz || true
|
|---|
| 15 |
|
|---|
| 16 | @text@
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.