A couple more cp/COPY $(inroot)/RUN replacements

This commit is contained in:
Albert Hopkins 2018-10-27 11:25:29 -07:00
parent 772b5b60fd
commit 9ed67885c6
1 changed files with 2 additions and 2 deletions

View File

@ -192,9 +192,9 @@ endif
$(GRUB): $(PREPROOT) configs/grub.cfg $(KERNEL) scripts/grub-headless.sed $(GRUB): $(PREPROOT) configs/grub.cfg $(KERNEL) scripts/grub-headless.sed
ifneq ($(EXTERNAL_KERNEL),YES) ifneq ($(EXTERNAL_KERNEL),YES)
@scripts/echo Installing Grub @scripts/echo Installing Grub
$(inroot) $(EMERGE) -nN $(USEPKG) sys-boot/grub RUN $(EMERGE) -nN $(USEPKG) sys-boot/grub
mkdir -p $(CHROOT)/boot/grub mkdir -p $(CHROOT)/boot/grub
cp configs/grub.cfg $(CHROOT)/boot/grub/grub.cfg COPY configs/grub.cfg /boot/grub/grub.cfg
ifeq ($(VIRTIO),YES) ifeq ($(VIRTIO),YES)
sed -i 's/sda/vda/' $(CHROOT)/boot/grub/grub.cfg sed -i 's/sda/vda/' $(CHROOT)/boot/grub/grub.cfg
endif endif