What is required for a proper boost chainline on a 1x drivetrain - only a boost chainring or an entire crankset? To obtain a proper chainline for a boost rear hub (~52 mm), is it enough to fit a boost (3 mm offset) chainring to a 1x crankset which is originally non-boost, or is an entire boost crankset required (i.e. not only the chainring but also the crankarms)? Namely, I am buliding a boost bike and can get a very good deal for a SRAM groupset that has a non-boost DUB direct mount crankset. The simplest and cheapest way to go for me would be to buy the groupset and replace only the non-boost chainring (6 mm offset) with a boost variant (3 mm offset), while keeping the rest of the crankset. Would this work?
Answer: The entire boost system has to be used with all the pieces together to have a proper chainline 53 mm to my taste.  

I've already had a boost hub, and a non boost entire crankset. At the end of the first month the chain touched the frame. On a race I confirmed a noisy chain, and finally had some missed shifts (twice). 

Exactly what I have been searching for 3 weeks now, and found that as SRAM and one up moves the just chainring, and Shimano offer change the crankarms.