← Back to team overview

ubuntu-phone team mailing list archive

Re: more than one scripts/touch file??

 

> [...] all changes I made to the ramdisk (I olny changed the touch
> script) were lost. While rebuilding, I noticed the message:
> 
>     Downloading ubuntu-touch-generic-initrd version 0.56
>     8395 blocks
> 
> it seems like when I run brunch, it downloads the standard ramdisk and
> uses it instead of whatever is at $OUT/ramdisk.img already.

it indeed does..
> build/core/Makefile:
> .PHONY: $(INSTALLED_RAMDISK_TARGET)
> $(INSTALLED_RAMDISK_TARGET): $(MKBOOTFS) | $(MINIGZIP)
>         $(call pretty,"Target Ubuntu Touch ram disk: $@")
>         $(hide) rm -rf $(TARGET_OUT_UBUNTU_INITRD) $(TARGET_UBUNTU_ROOT_OUT)
>         $(hide) mkdir -p $(TARGET_OUT_UBUNTU_INITRD) $(TARGET_UBUNTU_ROOT_OUT)
>         ======================================================================
>         $(hide) $(PULL_LP_BIN) $(TARGET_UBUNTU_INITRD_PKG) -o $(TARGET_OUT_UBUNTU_INITRD)
>         $(hide) dpkg-deb -x $(TARGET_OUT_UBUNTU_INITRD)/$(TARGET_UBUNTU_INITRD_PKG)*.deb $(TARGET_OUT_UBUNTU_INITRD)
>         ======================================================================
>         $(hide) $(ACP) $(TARGET_UBUNTU_INITRD) $@
>         $(hide) cd $(TARGET_UBUNTU_ROOT_OUT) && $(MINIGZIP) -c -d $@ | cpio -id

Could this be changed to check out from
lp:ubuntu/initramfs-tools-ubuntu-touch in the manifest to make debugging
the boot process easier?

#Regards/Marcel


Follow ups

References