diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-01-30 12:48:33 -0600 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-01-30 12:48:33 -0600 |
commit | 80d35be19270209f8878d1b533f8d3463c840f98 (patch) | |
tree | 2532275e2af0bacf19c60bdb70380df6f476ff32 /adelie-build-cd | |
parent | d0032dedcbb36dd22f52b11ed858bb828c1d15f3 (diff) | |
download | image-80d35be19270209f8878d1b533f8d3463c840f98.tar.gz image-80d35be19270209f8878d1b533f8d3463c840f98.tar.bz2 image-80d35be19270209f8878d1b533f8d3463c840f98.tar.xz image-80d35be19270209f8878d1b533f8d3463c840f98.zip |
adelie-build-cd: run post-arch before adding kernel
Diffstat (limited to 'adelie-build-cd')
-rwxr-xr-x | adelie-build-cd | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/adelie-build-cd b/adelie-build-cd index 9b54839..d939db7 100755 --- a/adelie-build-cd +++ b/adelie-build-cd @@ -262,7 +262,6 @@ make_initrd() { cp squashroot-$ARCH/usr/lib/liblzma.so.5 initrd-$ARCH/lib/ cp squashroot-$ARCH/lib/libudev.so.1 initrd-$ARCH/lib/ cp squashroot-$ARCH/lib/libz.so.1 initrd-$ARCH/lib/ - cp squashroot-$ARCH/etc/udev/hwdb.bin initrd-$ARCH/etc/udev/ # init cp cdinit-$ARCH initrd-$ARCH/init @@ -277,14 +276,14 @@ make_initrd() { } prepare_cdroot() { - header 'Adding kernel...' - - cp squashroot-$ARCH/boot/vmlinu* cdroot-$ARCH/bzImage - if test -f post-$ARCH.sh; then header 'Running architecture-specific scripts...' sh post-$ARCH.sh fi + + header 'Adding kernel...' + + cp squashroot-$ARCH/boot/vmlinu* cdroot-$ARCH/bzImage } create_iso() { @@ -306,7 +305,6 @@ case $PHASE in make_initrd ;; iso) - squash_it prepare_cdroot create_iso ;; |